What is the advantage of defining route structures in the code?
Experience Level:
Mid-level
Tags:
.NET
ASP.NET MVC
ASP.NET WebForms
Answer
Related ASP.NET MVC job interview questions
-
Can we map multiple URL’s to the same action?
.NET ASP.NET MVC ASP.NET WebAPI Mid-level -
Explain attribute based routing in MVC.
.NET ASP.NET MVC ASP.NET WebAPI Mid-level -
How can we navigate from one view to another using a hyperlink?
.NET ASP.NET MVC Junior -
How can we restrict MVC actions to be invoked only by GET or POST?
.NET ASP.NET MVC ASP.NET WebAPI Mid-level -
How can we maintain sessions in MVC?
.NET ASP.NET MVC ASP.NET WebAPI Not defined