What is Route in MVC? What is Default Route in MVC?

Report
Question
24 views

Please explain why do you think this question should be reported?

Report Cancel

A route is a URL pattern that is mapped to a handler. The handler can be a physical file, such as a .aspx file in a Web Forms application. A handler can also be a class that processes the request, such as a controller in an MVC application. To define a route, you create an instance of the Route class by specifying the URL pattern, the handler, and optionally a name for the route
Default Route.The default ASP.NET MVC project templates add a generic route that uses the following URL convention to break the URL for a given request into three named segments.

Please follow and like us:

About the Author