Science, asked by roshansm1629, 1 year ago

How to enable Attribute Routing?

Answers

Answered by vikas4174
0
Enabling attribute routing in your ASP.NET MVC5 application is simple, just add a call to routes.MapMvcAttributeRoutes() method with in RegisterRoutes() method of RouteConfig.cs file. You can also combine attribute routing with convention-based routing.
Similar questions