Advantage of routing in ASP.NET Core?
In ASP.NET routing URL can be very useful for Search Engine Optimization (SEO) and Representation State Transfer (REST). Routing: The messages are routed to the server for making the delivery of the request easier and provide the URL Mapping.
In ASP.NET Core, routing is handled by routing middleware, which matches the URLs of incoming requests to actions or other endpoints. Controller actions are either conventionally routed or attribute-routed. Conventional routing is similar to the route table approach used in ASP.NET MVC and Web API. Whether you’re using conventional, attribute, or both, you need to configure your app to use the routing middleware.
Routing makes your application more flexible in terms of pages and navigations.
It helps users to land on expected result/page.