October 2018
Beginner to intermediate
478 pages
10h 8m
English
Attribute-based routing supports a few predefined tokens that are placed in square brackets ([ and ]), and will be replaced at runtime with their corresponding value:
For example, instead of writing ProductsController explicitly in the RouteAttribute, we can write it like this:
[Route("api/[controller]")][ApiController]Read now
Unlock full access