Fixing area view lookups when using multiple view engines

11/17 Update: I’ve fixed a bug in the view engine registration code that prevented this method from working. Please note the addition of the dummyFormats property in the solution below. Oskar from the ASP.NET forums asked a question about the order of view lookups when using Areas in MVC 3. The problem is that now that…


Granular Request Validation in ASP.NET MVC 3

12/10 Update: In MVC 3 RC 2 SkipRequestValidationAttribute got renamed to AllowHtmlAttribute. I have updated the examples below. A little while ago I wrote a blog post describing granular request validation that shipped in MVC 3 Beta. However, since then we have changed the API for this feature and that post is no longer valid….