Is the route {controller}{action}/{id} a valid route definition or not and why ?

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

{controller}{action}/{id} is not a valid route definition.
The reason is that, it has no literal value or delimiter between the placeholders.
If there is no literal, the routing cannot determine where to seperate the value for the controller placceholder from the value for the action placeholder.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response