When I first started learning MVC one of the few concepts that I found new and unusual was routing. My concern was that why do we need it in the first place. I could understand that Models, Views and Controllers are an important part of any MVC application. After all user interaction is an important part of any application and that's what the controller does, it handles user interaction and selects the appropriate view to render. User interacts with our application using the view or the UI. And as we know Model represents the application's data that is required in almost every application, after all every application has certain entities and relationships between the entities. But when we think about routing, it doesn't seem to address any of the concerns unlike the previous concepts. So let's first try to understand using an example what routing is and then we will see the problem it solves and why it is such an important part of MVC application.


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,MVC,Routing in MVC