Pseudo-random thoughts on C#, .NET, Web design and more.

Recent Posts

Testing Routes in ASP.NET MVC

Basic route testing in ASP.NET MVC is good, but I much prefer action-centric tests.

asp-net-mvcc#testing

Fluent interfaces and state machines (part 1) - State-per-operation pattern

The simplest pattern that can be used to represent fluent interfaces is to use state machines, in a usage-first approach.

fluent-interfacec#

Yet another homebrewed IoC/DI container

IoC/DI containers usually come in bulky libraries. What happens when you want to use IoC/DI when designing small, dependency-free libraries?

c#inversion-of-controldependency-injection

Rules without exceptions

No rules without exceptions. Or can this be turned on its head: Rules, just rules.

designbusiness-logic

Razor, nested layouts and sections

Razor's nested layouts really can save your day. But they leave something to be desired.

asp.net-mvcc#razor

User experience for number inputs using ASP.NET MVC

There is one thing I really hate when it comes to user experience on the Web: A dumb textbox for a very specific input.

c#asp-net-mvcuser-experience

Migrated and back to life

Migrated the blog from Blogger and I will hopefully bring this blog back to life.

funnel-web

Immutable objects

I can't stress how important immutable objects are in most designs.

c#design

The broken double-check lock

The broken double-check lock: It's broken but it works.

c#.netmulti-threading

Fluent interfaces: Introduction

Fluent interfaces are becoming more and more popular in C#; Thanks to Lambda expressions, Expression trees and Extension methods.

c#.netfluent-interface

C# Extension methods

C# Extension methods; What are they?

c#.net