Buy Questpond's video subscriptions on
huge discount
.
Online: 1988
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
ASP.NET MVC
>
Loading ...
How do you add constraints to a route ?
Posted by
Bharathi Cherukuri
on 8/27/2012 | Category:
ASP.NET MVC Interview questions
| Views: 19308 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
There are 2 ways for adding constraints to a route. They are:
i) By using Regular Expressions and
ii) By using an object which implements IRouteConstraint interface.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
Explain with examples for scenarios when routing i ...
Next > :
Is there any way to handle variable number of segm ...
Comments or Responses
Login to post response
More Interview Questions by Bharathi Cherukuri
Is there any way to handle variable number of segments in a route defi ...
Explain the difference between adding routes, to a web application and ...
Explain about default route, {resource}.axd/{*pathInfo} ...
Is the route {controller}{action}/{id} a valid route definition or not ...
What are the things that are required to specify a route ?
Explain the advantages of using routing in ASP.NET MVC ?
How to avoid XSS Vulnerabilities in ASP.NET MVC ?
What are the settings to be done for the Routing to work properly in a ...
Latest Interview Questions
Your application database includes Person and OfficeAssignment tables. ...
What are anonymous types?
In your application, information about all courses is stored in a Cour ...
In your application course, information is stored in a Course table. S ...
You are implementing an EDM. You need to add a definition to the data ...
You are implementing an Entity Data Model . You need to add a definiti ...
You are using VS 2010 to develop a data-centric application. You need ...
You ran a LINQ to SQL query to retrieve the products that you are goin ...
More ...