RouteCollection.AppendTrailingSlash Property

.NET Framework (current version)

Gets or sets a value that indicates whether trailing slashes are added when virtual paths are normalized.

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

public bool AppendTrailingSlash { get; set; }

Property Value

Type: System.Boolean

true if trailing slashes are added; otherwise, false. The default is false.

.NET Framework
Available since 4.5
Return to top