© Adam Freeman 2020
A. FreemanPro ASP.NET Core 3https://doi.org/10.1007/978-1-4842-5440-0_13

13. Using URL Routing

Adam Freeman1  
(1)
London, UK
 
The URL routing feature is provided by a pair of middleware components that make it easier to generate responses by consolidating the processing and matching of request URLs. In this chapter, I explain how the ASP.NET Core platform supports URL routing, show its use, and explain why it can be preferable to creating your own custom middleware components. Table 13-1 puts URL routing in context.
Table 13-1.

Putting URL Routing in Context

Question

Answer

What is it?

URL routing consolidates the processing and matching of URLs, allowing components known as endpoints to generate responses.

Why is it useful?

URL routing ...

Get Pro ASP.NET Core 3: Develop Cloud-Ready Web Applications Using MVC, Blazor, and Razor Pages now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.