Buy Questpond's video subscriptions on
huge discount
.
Online: 3969
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 ...
Is there any way to handle variable number of segments in a route definition ?
Posted by
Bharathi Cherukuri
on 8/27/2012 | Category:
ASP.NET MVC Interview questions
| Views: 9553 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
You can handle variable number of segments in a route definition by using a route with a catch-all parameter.
Example:
controller/{action}/{*parametervalues}
Here * reffers to catch-all parameter.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How do you add constraints to a route ?
Next > :
Explain the difference between adding routes, to a ...
Comments or Responses
Login to post response
More Interview Questions by Bharathi Cherukuri
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 ...
In an MVC application, what are the segments of the default route ?
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 ...