What is Route in MVC?
1003
11-Feb-2020
Updated on 20-Sep-2020
Nishi Tiwari
11-Feb-2020The route is a URL pattern that is mapped to a handler. A handler can be a physical file, such as an .aspx file in a Web Forms application and can also be a class that processes the request, such as a controller in an MVC application so to define a route, we create an instance of the route class by specifying the URL pattern, the handler, and optionally a name for the route.