I am working with asp.net mvc 4 and have some issues around routing.
how do I ensure that all routes generated on the site via url's etc to be lower case? I have set
RouteTable.Routes.LowercaseUrls = true;
but the urls are still being generated in uppercase etc. Am I missing something?I want to tweak my routes so that I no longer have /Home/About/Index to /Home/About - so that the Index is dropped when the route is generated - how can this be done.
Finally, this is my route configuration.
RouteTable.Routes.MapRoute("MyRoute", "home/{action}",
new { controller = "About" });