Routing

Routing is the travel guide of incoming requests — it is responsible for passing requests to their matching controller actions. The matching is done by the request URL; for example, we can instruct ASP.NET MVC Core to run the Index action on the Home controller whenever a request for the URL /hello gets to the server.

Get Hands-On Full-Stack Web Development with ASP.NET Core 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.