Interviews Questions and Answers

0

Like

Is the following route definition a valid route definition? {controller}{action}/{id}


Posted by: Teena
On 25 Mar 2012 | Views: 930 | Categories: MVC
Interview Answers(1)

 On 25 Mar 2012 10:12:20 AM
No, the above definition is not a valid route definition, because there is no literal value or delimiter between the placeholders. Therefore, routing cannot determine where to separate the value for the controller placeholder from the value for the action placeholder.

Post your Answers

 

Other lins

.Net Techies
Other lins