Model View Controller (MVC) Question:

Download Job Interview Questions and Answers PDF

What are the 3 things that are needed to specify a route?

MVC Interview Question
MVC Interview Question

Answer:

1. URL Pattern - You can include placeholders in a URL pattern so that variable data can be passed to the request handler without requiring a query string.
2. Handler - The handler can be a physical file such as an .aspx file or a controller class.
3. Name for the Route - Name is optional.

Download MVC Interview Questions And Answers PDF

Previous QuestionNext Question
What is the adavantage of using ASP.NET routing?Is the following route definition a valid route definition?