Scott Hanselman

added by DotNetKicks
7/1/2016 4:08:38 PM

3 Kicks, 652 Views

ASP.NET supports both attribute routing as well as centralized routes. That means that you can decorate your Controller Methods with your routes if you like, or you can map routes all in one place. Here's an attribute route as an example: [Route("home/about")]public IActionResult About(){ //..} And here's one that is centralized.


0 comments