Interviews Questions and Answers

0

Like

Give 2 examples for scenarios when routing is not applied?


Posted by: Teena
On 25 Mar 2012 | Views: 1309 | Categories: MVC
Interview Answers(1)

 On 25 Mar 2012 10:10:44 AM
1. A Physical File is Found that Matches the URL Pattern: This default behaviour can be overriden by setting the RouteExistingFiles property of the RouteCollection object to true.

2. Routing Is Explicitly Disabled for a URL Pattern: Use the RouteCollection.Ignore() method to prevent routing from handling certain requests.

Post your Answers

 

Other lins

.Net Techies
Other lins