- Add the more specific rules first and the more generalized ones at the end
- Define defaults from the back to front
- controller and action must exist in all rules either in the URL part or the default part. Otherwise the route handler won’t know what controller/action to map the URL to.
-
Recent Posts
- ASP.NET MVC Model Binding Form Inputs To Action Parameters
- Notes on MVC routes mapping
- Things I’d love to learn more about
- "Remember Me" Doesn’t work in ASP.NET
- Regex Inverse Matching
- On Defensive Programming
- Getting Around Dynamic Casting To Achieve Better Design And Performance
- Parsing SQL Statements With Regex
- My Favorite Geek Quotes
- jscalendar shows at the top of the screen in IE7
Archives
Blogroll
-
Blog Stats
- 2,563 hits
One Comment
ASP.NET MVC 2 Preview 1 just shipped. Check it out!
http://www.haacked.com/archive/2009/07/30/asp.net-mvc-released.aspx