RouteCollection.LowercaseUrls Property

Definition

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

C#
public bool LowercaseUrls { get; set; }

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

Produk Versi
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1