A while back, I blogged about using the Enterprise Library Validation Application Block (VAB) with ASP.NET MVC. As MVC has matured as a framework, this scenario has becoming simpler. In early releases of MVC, I implemented the execution of the VAB validation in the controller methods. However, I now prefer to put that logic in the binders themselves. In earlier versions of the framework, the model binders that came out of the box dealt well with simple objects but if you had more complex View Models ......
On April 1 I will be presenting ASP.NET MVC at Microsoft Tech Days. This is a totally free 24-hour virtual event. You can register right now at: http://www.msfttechdays.com. Hope to see you there!
Tomorrow I’ll be giving a presentation at Southern Maryland .NET User Group on LINQ to SQL. Details of the event can be found here: http://www.communitymegaphone.com/ShowEvent.aspx?EventID=1022.