Configuring the HTTP pipeline
Now that we have reviewed how dependency services are registered and retrieved using dependency injection, let's have a look at related topics including endpoint routing and how to configure the HTTP pipeline in ASP.NET Core.
Understanding endpoint routing
Endpoint routing is designed to enable better interoperability between frameworks that need routing, such as Razor Pages, MVC, or Web API services, and middleware that needs to understand how routing affects them, such as localization, authorization, and so on.
Endpoint routing gets its name because it represents the route table as a compiled tree of endpoints that can be walked efficiently by the routing system. One of the biggest improvements is the performance of routing and action method selection.
Benefits of endpoint routing
Endpoint Routing in is a significant improvement over the previous routing system used pre-ASP.NET Core 2.2. In previous versions, routing was decentralized across MVC...