Hands-On Full:Stack Web Development with ASP.NET Core
上QQ阅读APP看书,第一时间看更新

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.