In MVC is mandatory to be Map route {controller}/{action}/{id} In This format only..??

 Posted by Rakesh433jntu on 6/7/2014 | Category: ASP.NET MVC Interview questions | Views: 1590 | Points: 40
Answer:

Its not mandatory to be URL string must be in controller/action/params format.

If User defined in his RouteConfig file like {controller}/{action}/{id} Query string will be controller/action/id.

if user defined in his RouteConfig file like {action}/{controller}/{id} Query string will be
Action/controlleer/id.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Rakesh433jntu