How can I get the route name in controller in ASP.NET MVC?
The route name is not stored in the route unfortunately. It is just used internally in MVC as a key in a collection. I think this is something you can still use when creating links with HtmlHelper.RouteLink for example (maybe somewhere else too, no idea). Anyway, I needed that too and here is what I … Read more