How can we set attribute routing in MVC?

To enable Attribute Routing, we need to call the MapMvcAttributeRoutes method of the route collection class during configuration.

Leave a Reply

Your email address will not be published. Required fields are marked *