What are the things that are required to specify a route ?

 Posted by Bharathi Cherukuri on 8/27/2012 | Category: ASP.NET MVC Interview questions | Views: 4568 | Points: 40

There are 3 things that are required to specify a route.

i) URL Pattern : You can pass the variable data to the request handler without using a query string. This is done by including placeholders in a URL pattern.
ii) Handler : This handler can be a physical file of 2 types such as a .aspx file or a controller class.
iii) Name for the Route : This name is an optional thing.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response