Debugging ASP.NET MVC Routing

One of the most critical pieces to MVC is routing users to the proper controller. During the development process, you must keep in mind that routes will take users to the first pattern that matches. It’s not that difficult to create patterns that are too similar that users are routed to the incorrect place. Phil Haack, from the ASP.NET team, has created a cool library to help routes. You can download his library at http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx. When you download the library, be sure to place it in your bin directory and add a reference to it within your project. He’s updated it for MVC Preview 5.

Comments

# re: Debugging ASP.NET MVC Routing

Friday, October 03, 2008 4:57 PM by Jason N. Gaylord

DIGG here: digg.com/.../http_weblogs_asp_net_jgaylord_archive_2008_10_03_debugging

Leave a Comment

(required) 
(required) 
(optional)
(required)