Ben Foster 2/16/2012

Improving ASP.NET MVC Routing Configuration

Read Original

This technical article details methods for improving ASP.NET MVC routing configuration. It advises against declaring routes in Global.asax and instead recommends using separate, testable route registries. It also covers avoiding unnecessary framework coupling by moving validation logic out of route constraints and into isolated, testable classes, using dependency injection and IoC containers like StructureMap.

Improving ASP.NET MVC Routing Configuration

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser