Answers

Question and Answer:

  Home  MVC

⟩ Is the following route definition a valid route definition?

{controller}{action}/{id}

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.

 254 views

More Questions for you: