Summary
The ASP.NET Core routing functionality is powerful, and highly configurable. In this chapter, you learned how the routing middleware works with the HTTP pipeline. We used RouteBuilder to create route tables and navigated between them. You also learned about the UseMvc middleware implementing routing middleware internally.
Routing can be either conventional or Attribute-based, we discussed and implemented route parameters using custom constraints. The Link generation feature can be used for generating links to specific routes. You also learnt some best practices for web API routing.
The upcoming chapter focuses on the middleware concept of ASP.NET Core--you will learn the basics of middleware, writing some custom middleware, and about ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access