Model View Controller (MVC) Question:

Download Job Interview Questions and Answers PDF

What is the adavantage of using ASP.NET routing?

MVC Interview Question
MVC Interview Question

Answer:

In an ASP.NET web application that does not make use of routing, an incoming browser request should map to a physical file. If the file does not exist, we get page not found error.

An ASP.NET web application that does make use of routing, makes use of URLs that do not have to map to specific files in a Web site. Because the URL does not have to map to a file, you can use URLs that are descriptive of the user's action and therefore are more easily understood by users.

Download MVC Interview Questions And Answers PDF

Previous QuestionNext Question
ASP.NET MVC application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?What are the 3 things that are needed to specify a route?