Prior to ASP.NET MVC Framework, there was a direct relationship between requested URLs and the files on the server hard disk. For example in the Web Forms, a request such as http://www.site.com/Default.aspx was matched to a "Default.aspx" file on the server hard disk. On the other hand, in a MVC application, requests are processed by actions in controller classes and apparently, there isn't a one-to-one correlation to the files on disk. The MVC Framework make use of the "Routing system" to handle URLs requests. This post will give you several examples to teach you how to define your own routes and reach with specific URLs the action methods in your controller classes


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,ASP.Net,URL Routing in ASP.Net