Latest posts

Get a unique session in each browser tab

I’ve got a lot to do at work, hence the silence. I’ve got a lot to blog about, but so little time ;/ I found an interesting question on Stack Overflow which…

Introducing my logging library

I’ve just published the first version (consider it a beta) of my logging library to the official nuget server(s).

How to handle errors in ASP.NET MVC

There are several blog posts regarding error handling for ASP.NET MVC. They use everything from Application_Error to exception handling in the base…

First draft of my alternative HTML helpers

I’m getting closer to a first release of my ASP.NET MVC contribution project called Griffin.MvcContrib. I’ve just committed my first draft of the alternative…

A more structured MembershipProvider

If you take a look at the official documentation that tells you how to create your own custom MembershipProvider you’ll notice that the documentation is…

Why extension methods should not be used as part of a framework

Two of my favorite frameworks/libraries use extension methods heavily: Autofac during registration and ASP.NET MVC3 for its HTML Helpers. Since extension…

Easy model and validation localization in ASP.NET MVC3

Update I’ve written a more complete article about the framework at codeproject.com.

Getting information into the Layout without using ViewBag

You should avoid using the ViewBag as much as possible since you get run-time errors instead of compile-time errors if something fails. The problem is that it…

Begin/End asynchronous methods vs the new Async methods

A new asynchronous model was introduced in .NET 3.5sp1 where all methods end with ‘Async’, like Socket.ReceiveAsync. I will not give you any code samples;…

An easier way to debug Windows services

Have you grown tired of attaching the Visual Studio debugger to the service application? I’ve got the solution just for you! It’s a small helper class…