RouteCollection.RouteExistingFiles Proprietà

Definizione

Ottiene o imposta un valore che indica se ASP.NET routing deve gestire gli URL corrispondenti a un file esistente.

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

Valore della proprietà

true se ASP.NET routing gestisce tutte le richieste, anche quelle corrispondenti a un file esistente; in caso contrario, false. Il valore predefinito è false.

Commenti

Anche se questo valore può essere modificato in modo dinamico, qualsiasi modifica apportata dopo l'attivazione di un servizio verrà ignorata quando si usa ASP.NET integrazione del routing. Per altre informazioni, vedere ASP.NET Routing Integration.

Si applica a

Vedi anche