-
18Jun
2010 Handling 404, unhandled and unsafe URL errors in ASP.NET MVC applicationSpent a bit of time recently to try and get my MVC application handle 404 errors exactly as I want. The solution that I ended up choosing is based on this excellent SO answer. The advantage of rendering the Error view by calling ErrorController.Execute, as opposed to making an entry in web.config, is that you [...]
-
28Apr
2010 Keeping your sanity whilst developing for Windows Phone 7Dealing with those obtuse run-time errors whilst developing for WP7.

-
01Mar
2010 F# – Combinators And Tail RecursionPerhaps combinators and tail recursion are not the best beginner topics in F# but they are the ones I got stuck into pretty much straight away. I blame Google. After reading a few google hits on functional programming I of course found out about combinators and I just had to understand them. I finally got [...]
-
01Feb
2010 Double dispatch without RTTII liked my StackOverflow answer so much that I decided to make it into a blog post. The question was how to implement a double dispatch mechanism for subclasses of one base class without casting. After dismissing the question as stupid, I spent a bit of time trying to come up with a solution that [...]
-
08Jan
2010 I have a new pet hate browserHating IE6 is so 2003. I hate Chrome now. Maybe I am biased. I only used Chrome to test a layout that has a lot of transparency. It’s quite well known that webkit sucks a bit handling RGBA. But I am getting ahead of myself. Everyone kept going on about how fast Chrome after it [...]
-
11Dec
2009 Shouldn’t RAII should be RDID???I will openly plead ignorance for design patterns. I know this is really not the way to be and Design Patterns and Code Complete are on my “to read” list. It’s only that I trawl through StackOverflow a bit lately that I get to hear a lot of buzz about patterns and idioms. Some people [...]
-
01Aug
2009 Test Driven DevelopmentI heard a lot of buzz about test driven development. All that time I thought that all that means is writing unit tests. Then I found out about writing tests before writing code. Meh, I thought, no big deal, a bit fussy if you ask me, it still hasn’t changed my view on the whole [...]