How can I have lowercase routes in ASP.NET MVC?

Posted by J. Pablo Fernández on Stack Overflow See other posts from Stack Overflow or by J. Pablo Fernández
Published on 2009-05-18T16:30:30Z Indexed on 2010/06/14 6:52 UTC
Read the original article Hit count: 228

Filed under:
|
|
|

How can I have lowercase, plus underscore if possible, routes in ASP.NET MVC? So that I would have /dinners/details/2 call DinnersController.Details(2) and, if possible, /dinners/more_details/2 call DinnersController.MoreDetails(2)?

All this while still using patterns like "{controller}/{action}/{id}".

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about url