Ben Foster 6/20/2012

If Then, If Then, If Then, MVC

Read Original

This article critiques common ASP.NET MVC controller patterns filled with conditional checks for request types (JSON, AJAX) and demonstrates how to encapsulate this logic into reusable action filters and view results. It previews the Fabrik.Common.Web and Fabrik.Common.MvcBoilerPlate projects, showing simplified code examples that handle content negotiation and model validation automatically, aiming to make MVC applications more maintainable and AJAX-friendly.

If Then, If Then, If Then, MVC

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser