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}
.
This actually has two answers:
You're on your own for the underscores, though...
If you happened to use ASP.NET Core, you probably should have a look at this: