RouteCollection.LowercaseUrls Property

.NET Framework (current version)
 

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
Show: