Twitter About Home

Validating a variable length list, ASP.NET MVC 2-style

Jan 28, 2010

In the previous post I showed a fairly straightforward way to create an editor where the user can add and delete the items in a set. Please read that previous post before continuing to read this one. Read More

Editing a variable length list, ASP.NET MVC 2-style

Jan 28, 2010

A while back I posted about a way of editing a list of items where the user can add or remove as many items as they want. Tim Scott later provided some helpers to make the code neater. Now, I find myself making use of this technique so often that I thought it would be worthwhile providing an update to show how you can do it even more easily with ASP.NET MVC 2 because of its strongly-typed and templated input helpers. Read More

Measuring the Performance of Asynchronous Controllers

Jan 25, 2010

Recently I’ve been working with ASP.NET MVC 2.0’s new asynchronous controllers. The idea with these is that you can split the request handling pipeline into two phases: Read More

Selective Unit Testing – Costs and Benefits

Nov 4, 2009

I’ve been writing unit tests regularly for 2-3 years now, and doing full-blown test-driven development (TDD) full time for about the last year. Throughout this whole time, I keep noticing the same thing over and over: Read More

Upcoming events in Cambridge and Gloucester

Oct 28, 2009

UK readers may be interested to hear of the following events, where you’ll get to see me frantically try to write lots of code in front of an audience, while constantly worrying that my laptop is about to do a BSoD: Read More