Friday, May 5, 2023

Explain routing in ASP.NET Core

► Routing is functionality that map incoming request to the route handler.

► The Routing uses routes for map incoming request with route handler and Generate URL that used in response.

►The route can have values (extract them from URL) that used to process the request.

►Using the route, routing can find route handler based on URL.

► All the routes are registered when the application is started.

► There are two types of touting supported by ASP.NET Core.

1.The conventional routing

2.Attribute routing