ASP.Net MVC Question:

Explain significance of routing?

ASP Dot Net MVC Interview Question
ASP Dot Net MVC Interview Question

Answer:

-ASP.NET MVC uses ASP.NET routing, to map incoming browser requests to controller action methods.

-In ASP.NET Routing mechanism a routing table is maintained which is created when the web application first starts.

-The route table is present in the Global.asax file.

-In routing mechanism the physical path of page will not be used in URL and therefore hiding the application file system hierarchy from outer world.

-By using the routing mechanism the URL search becomes more user friendly.


Previous QuestionNext Question
Explain the main function of URL routing system in ASP.NET MVC?What is ASP.NET MVC?