LowercaseUrls Property

RouteCollection.LowercaseUrls Property

.NET Framework 4.6 and 4.5

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

Namespace:   System.Web.Routing
Assembly:  System.Web (in System.Web.dll)

public bool LowercaseUrls { get; set; }

Property Value

Type: System.Boolean

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

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

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft