Microsoft recently published the RC release of their ASP.NET MVC Framework, and I’ve updated my “Jeff’s Hangar” MVC sample accordingly. The RC contains some cool new features, especially with regard to tooling support, but mostly it adds polish to features that were already there. I’ve rewritten the sample to be as true to the spirit of the RC as possible and to demonstrate how to build validation logic into model classes (where it generally belongs) rather than controller classes.

MVC Demo

As with previous versions of this sample, I’ve built my model classes to be self-contained. Of course, since only the model knows where the data is physically stored, you could modify the model classes to get their data from SQL Server or another data source and not have to touch the rest of the code.