What are the settings to be done for the Routing to work properly in an MVC application ?

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

The settings must be done in 2 places for the routing to work properly.They are:

i) Web.Config File : In the web.config file, the ASP.NET routing has to be enabled.
ii) Global.asax File : The Route table is created in the application Start event handler, of the Global.asax file.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response