Monthly Archives: October 2012
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
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.
I’ve switched from wordpress comment system to disqus. The old comments will hopefully get imported pretty soon.
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.
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
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