Kizspy | Question: 30
(Choose 1 answer)
What is the primary advantage of using attribute routing over conventional routing?
A. It is the only way to define routes in minimal APIs.
B. It keeps the route definition next to the action method that it maps to, improving locality and discoverability.
C. It offers significantly better performance than conventional routing.
D. It is required for enabling Swagger/Open API documentation.