Posted By : Murugan Andezuthu Dharmaratnam
Posted On : 8 December 2014
Keywords : ASP Dotnet MVC Routing,MVC Routing,Routing,ASP Dotnet,ASP Dotnet MVC

ASP Dotnet MVC Routing

Routing In ASP Dotnet MVC

ASP .NET MVC routing has an important role in ASP .NET MVC .Basically, it maps request URL to a specific controller action using a Routing Table.Here first we just run the project, there is no resources is found.

If we given the correct path only, the created view is shown otherwise the result is just like in previous figure.Here we are specifying the path. The result is shown.

Routing Mechanism

Another fact is that we can specify the path earlier,then there is no need to manually specify the path.It automatically routes and display the result.This can be done in RouteConfig.cs in the App_start.
Like in code, we can alter the controller and action name by our necessity.It automatically routes and search the controller and action that is speicified.

Then we can run the code and see the resultant window with output.No need to specify the path explicity.This is what we say called routing.

Murugan Andezuthu Dharmaratnam

Murugan is a technology leader with 14 years of hands-on experience in full life cycle systems design, development, implementation, and management. In addition to systems design and development, his core competencies include cloud design and architecture, interactive web applications and websites development, mobile computing, and Healthcare Information Technology. His experience is very diverse with a broad range of technologies within multiple industry settings including private, public, and non-profit. Coupled with his technology expertise, Murugan is a well-organized, result-oriented, and a highly analytical leader with proven track record in developing and implementing very complex systems.