Development Archive

The self referencing generic

Every now and then you stumble upon a feature that you didn't know existed, and sometimes even thought couldn't exist. This happened to me when I was working on my implementation of the ActiveRecord pattern for .NET. Main main goal was to provide an easy way to get strongly typed...
Read More

MVP – How about unit testing for WebForms

You are all probably aware of the advantages of the MVC architecture in terms of separation and testability. In many scenarios MVC is superior in the way it forces the programmer to structure the application, but in other scenarios it's not a primary candidate. MVP - the "Model-View-Presenter" pattern, like the...
Read More

Templated controls – Love your designer

A key feature to me in ASP.NET for giving the designer a fair chance of creating the layout he/she want's without having to meddle with the code-behind is templated controls. We have all worked with Repeaters, and if you don't walk down the errorenous road of doing half of your databinding...
Read More