RouteCollection.RouteExistingFiles Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether ASP.NET routing should handle URLs that match an existing file.
public:
property bool RouteExistingFiles { bool get(); void set(bool value); };
public bool RouteExistingFiles { get; set; }
member this.RouteExistingFiles : bool with get, set
Public Property RouteExistingFiles As Boolean
Property Value
true
if ASP.NET routing handles all requests, even those that match an existing file; otherwise, false
. The default value is false
.
Remarks
Although this value can be changed dynamically, any change made after a service has been activated will be ignored when using ASP.NET routing integration. For more information, see ASP.NET Routing Integration.