How to Use Attribute Routing in ASP.NET Core 3.0 MVC

added by DotNetKicks
1/29/2020 3:55:10 PM

380 Views

Having discussed convention-based routing in a previous post, let us now talk about its younger, more fluid sibling: attribute routing. Attribute routing allows us developers to define routes right next to the actions they map to. This allows for us to get very fine-grained control over what routes map to which actions.


0 comments