Latest posts

Simplified WCF services

Being an old C++ developer I’ve always found myself doing everything by myself from the bottom and up. I’ve always created my own DALs, socket handling etc. I…

Autofac, starting components

Some of my components need to be started after all of them have been created. This is quite easy to solve with Autofac. The components simply implement this…

NLog configuration

I’ve switched from my own logging framework to NLog. NLog seems quite flexible, is under active development and suits my needs perfectly. I’m logging both to…

Simplified Autofac registrations

I’m building an application which will monitor other applications (memory usage, starting them if they crash etc.). I’m trying to stop re-inventing the wheel…

Introducing a validation library

I’ve made a validation library which is focusing on model validation. Why another one when there are a few good ones like EntLib Validation Application Block…

Extension methods to simplify database handling

Two extension methods used to simplify database handling.

TodoApp – part 1: From shitcore to hardcore

The easiest way to learn how to improve one’s coding is by example. I’ve therefore created an example application which is really crappily written. It’s a…

TodoApp – part 4: Welcome softcore!

The application is getting a bit better designed when it comes to DRY KISS, SR. But before we continue, we have a small problem in the last iteration.

TodoApp – Part 3: Fix that data source

Let’s continue with the refactoring. What is the main window really doing? Well:

TodoApp – Part 2: Single responsibility is what we need

In our journey towards hardcore we need to refactor the shitcore into something a bit more softcore =) I’m not going to show all the source code in this blog…