11 August, 2010

Mocking HtmlHelper in ASP.NET MVC 2 and 3 using Moq

Still having trouble mocking HtmlHelper? This is an update to my previous post on mocking HtmlHelper way back when ASP.NET MVC RC1 was released. Eric notified me through a comment on the post and a question on StackOverflow that the code for ASP.NET MVC RC1 did not work with ASP.NET MVC 2. The code in this post should work with ASP.NET MVC 2 and ASP.NET MVC 3 Preview 1.

06 May, 2010

A Software Craftsmans Bookshelf

A (long) while ago, Gøran Hansen tagged me and invited me to share a set of recommended books. Reorganizing my book shelves, the tag came back to mind, and I decided to name a few of the books that I have learned from. The first three are essential, the rest are great books you should read.