Monthly Archives: May 2012
When to throw exceptions
I’ve written several posts about exceptions. For instance when you should catch them or how you should design them. In this post I’ll discuss when you should throw exceptions. Exceptions are thrown when something exceptional have happended. But what does … Continue reading
Get injected into the world of inverted dependencies
I’ve just written a new article at CodeProject. It’s an introduction to Inversion Of Control containers and Dependency Injection. It can be found here.
Griffin.Container – “The drunken IoC container”
(I started writing this blog entry at friday night, but somehow I didn’t manage to finish it.) My son has just fallen asleep and wifey is working. Which means that I got a friday night all by myself. So I’ve … Continue reading
SOLID principles with real world examples
The following article aims to explain the five SOLID principles with real world examples. The SOLID principles are five programming principles which is considered to be the foundation of every well designed application. Following the principles will most likely lead … Continue reading
Liskovs Substitution Violation in the real world
I was creating an integration between my own users table (or document since I use RavenDB) with the membershipprovider in ASP.NET. I’m using the default SQL provider. When doing so I noticed that my code was failing all the time … Continue reading
Griffin.Networking – A somewhat performant networking library for .NET
Disclaimer: The current framework release is a beta. It should be reasonable stable, but don’t blame me if it blow up your computer. Introduction Griffin.Networking is a networking library written in C# which purpose is to: a) abstract away the … Continue reading
Griffin.MvcContrib – The plugin system
Introduction Griffin.MvcContrib is a contribution project for ASP.NET MVC3 which contains different features like extendable HTML Helpers (you can modify the HTML that the existing helpers generate), easy localization support and a quite fresh support for plugin development. The purpose … Continue reading