Richmond Code Camp - code samples

For those of you who attended my presentation this past weekend at the Richmond Code Camp, you can download the code samples that I used during my presentation here [http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=michelotti&ReleaseId=938] ....


MVC DeleteLink with AjaxHelper

Relatively recently it was discovered that the MVC framework was inadvertently leading to some bad practices around deleting resources with HTTP GET requests.  Specifically, HTTP best practices (and RESTful [http://en.wikipedia.org/wiki/Representational_State_Transfer] best practices) state that GET requests should never modify resources. Some people consider this a "security" hole and, while that may be true, I consider it more of a "best practices" hole. Stephen Walther [http://stephenwalther....


Microsoft Tech Days code sample

Thanks to everyone who attended my session today on ASP.NET MVC at Microsoft Tech Days [http://www.msfttechdays.com/dac/].  You can download the code sample that was build here [http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=michelotti&DownloadId=3437] .  Let me know if any questions.  Thanks....


Enterprise Library Validation Application Block with MVC Binders

A while back, I blogged about using the Enterprise Library Validation Application Block (VAB) with ASP.NET MVC [http://geekswithblogs.net/michelotti/archive/2008/10/04/enterprise-library-validation-application-block-with-asp.net-mvc.aspx] . 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 vers...


Microsoft Tech Days - MVC Presentation

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 [http://www.msfttechdays.com/dac/]. Hope to see you there!...