|
|
-
|
|
This article describes how to extend the Simple Injector with convension based configuration for primitive constructor arguments.When working with dependency injection, services (classes that contain behavior) depend on other services. The general idea i...
|
|
-
|
|
When it comes to writing maintainable software, there is no alternative to the five core principles of object oriented design. When software is based on these principles, everything becomes significantly easier. When your software is based on these princi...
|
|
-
|
|
This article extends the architectural design of command handlers to allow command handlers to return data.A few months back I described the command / handler architecture that I (and many others) use to effectively model business operations in a system. ...
|
|
-
|
|
This article describes how to inherit your .aspx pages from a custom class, in such a way that you can use nested master pages, without getting that terrible 'Design view does not support creating or editing nested master pages. To create or edit nested m...
|
|
-
|
|
Three weeks ago Joe Duffy published an article about 'Monitor.Enter, thread aborts, and orphaned locks' on his blog. After reading this article and responding to it (see my comments), I was pretty much in shock. I came to the conclusion that the C# &lsquo...
|
|
-
|
|
This article describes a little gotcha that might emerge when writing a custom parameter that derives from System.Web.UI.WebControls.Parameter.A couple of months ago I was building a custom control Parameter when I came across a little gotcha. The custom ...
|
|
-
|
|
Fredrik Normén recently wrote an article about "Defensive programming and Design by Contract on a routine level" and I can't agree with him more. I'm a true believer in the defensive programming style he describes. Like Fredrik, I'm very ...
|
|
-
|
|
It has already been several months since I purchased the book Framework Design Guidelines by Krzysztof Cwalina and Brad Abrams. Since that time it proved itself to be invaluable. When you design or write reusable libraries or are concerned with the qualit...
|
|
-
|
|
I'll repeat Greg Young and Fredrik Normén here.I stated in the past that I really like the idea of Spec#, but even more I like the idea of Spec# being integrated in C# later on. But nontheless I want verifiable software... ...
|
|
-
|
|
Great news is coming from the .NET Runtime Team. The new coming service pack for the .NET framework addresses inlining of value types.Last couple of days I've been commenting on Fredrik Normén's blog (here and here) and Roger Alsing's blog (here) a...
|
|