What are the two ways for adding constraints to a route?
Answer / Anubhav Gupta
The two ways for adding constraints to a route are: 1) Data annotations - attributes applied to properties or methods in the controller action, and 2) Route attributes - attributes applied directly to the route.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is route in mvc?
What is difference between razor and aspx in mvc?
What is the mvc page life cycle?
What is partial view in mvc?
Is mvc better than web forms?
Explain user authentication and authorizeattribute in mvc?
What is mvc framework in asp net?
What is the difference between partial view and layout in mvc?
Mention the order of the filters that get executed, if the multiple filters are implemented?
What is the page Lifecycle of the MVC ?
What is difference between mvc (model-view-controller) and mvp (model-view-presenter)?
Mention what is the advantages of mvc?