route is a URL pattern that is mapped to a handler. The handler can be a physical file, such as an .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. Let’s see how attribute routing in mvc works.

Attribute Routing in ASP.NET MVC

You know about attribute routing in mvc now. In the next tutorial, we’ll discuss about razor view in mvc.