Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the two ways for adding constraints to a route?



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

Post New Answer

More MVC Model View Controller Interview Questions

What is route in mvc?

1 Answers  


What is difference between razor and aspx in mvc?

1 Answers  


What is the mvc page life cycle?

1 Answers  


What is partial view in mvc?

1 Answers  


Is mvc better than web forms?

1 Answers  


Explain user authentication and authorizeattribute in mvc?

1 Answers  


What is mvc framework in asp net?

1 Answers  


What is the difference between partial view and layout in mvc?

1 Answers  


Mention the order of the filters that get executed, if the multiple filters are implemented?

1 Answers  


What is the page Lifecycle of the MVC ?

1 Answers  


What is difference between mvc (model-view-controller) and mvp (model-view-presenter)?

1 Answers  


Mention what is the advantages of mvc?

1 Answers  


Categories