Upravit

Sdílet prostřednictvím


RouteCollection.LowercaseUrls Property

Definition

Gets or sets a value that indicates whether URLs are converted to lower case when virtual paths are normalized.

public:
 property bool LowercaseUrls { bool get(); void set(bool value); };
public bool LowercaseUrls { get; set; }
member this.LowercaseUrls : bool with get, set
Public Property LowercaseUrls As Boolean

Property Value

true to convert URLs to lower case; otherwise false. The default is false.

Remarks

If a query string is included in the URL, that part of the URL is not converted to lower case.

Applies to