Tired of looking for errors in log files? Use OneTrueError - Automated exception management in .NET.

Monthly Archives: October 2012

How to dynamically modify model meta data in ASP.NET MVC

Normally you just add the [Required] attribute to a view model to make it required. But I needed a way to configure whether a field to be required or not. The requirement was that it should be configured through web.config: … Continue reading

Posted in Architecture | Tagged | Leave a comment

COM+ done right (refactoring a legacy application)

I’ve been spending a lot of time lately looking into a legacy application which uses COM+, i.e. got classes that inherits ServicedComponent. In this article I’ll show you some common mistakes and how you can correct them.

Posted in Architecture | Tagged | 2 Comments

Switched to disqus

I’ve switched from wordpress comment system to disqus. The old comments will hopefully get imported pretty soon.

Posted in Uncategorized | 2 Comments

Griffin.Decoupled: The queries

This article will show you how you can build your queries with the help of Griffin.Decoupled. Griffin.Decoupled is a small framework which helps you build applications with loose coupling which also can be scaled easily.

Posted in Architecture | Tagged , , | 5 Comments

Introducing Griffin.Decoupled

I recommend that you read my other post first, since it describes the rationale behind Griffin.Decoupled. This post will only demonstrate how you use the framework. Griffin.Decoupled allows you to execute commands and domain events within your application to reduce … Continue reading

Posted in Architecture | Tagged , , | 2 Comments

When is a logger a dependency?

There are some discussion about whether loggers should get injected into your classes (dependency injection) or if you should use the logger facade (like LogManager.GetLogger<MyClass>()). The answer rather simple: As for all classes, dependencies which is mandatory should get injected. … Continue reading

Posted in Architecture | 7 Comments

Writing decoupled and scalable applications

Preface This article is the first in a series of three articles. It’s purpose is only to introduce you do domain events and commands. The next article will show you how you with almost no effort (thanks to Griffin.Decoupled) can … Continue reading

Posted in Architecture | 6 Comments