Bewerken

Delen via


RouteCollection.RouteExistingFiles Property

Definition

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.

Applies to

See also