ASP.NET MVC 6 attribute routing – the [controller] and [action] tokens

added by Paul Wheeler
1/8/2015 3:05:42 PM

2 Kicks, 343 Views

When working with attribute routing in Web API 2 or MVC 5 it was relatively easy to get the route to the controller and the controller name out of sync. This issue has been addressed in MVC6 with a tiny addition – the introduction of [controller] ad [action] tokens into attribute routing.


0 comments