RouteOptions Class¶
- Namespace
Microsoft.AspNetCore.Routing
- Assemblies
- Microsoft.AspNetCore.Routing
Properties¶
-
Microsoft.AspNetCore.Routing.RouteOptions.
AppendTrailingSlash
¶ Gets or sets a value indicating whether a trailing slash should be appended to the generated URLs.
Return type: System.Boolean public bool AppendTrailingSlash { get; set; }
-
Microsoft.AspNetCore.Routing.RouteOptions.
ConstraintMap
¶ Return type: System.Collections.Generic.IDictionary<System.String> public IDictionary<string, Type> ConstraintMap { get; set; }
-
Microsoft.AspNetCore.Routing.RouteOptions.
LowercaseUrls
¶ Gets or sets a value indicating whether all generated URLs are lower-case.
Return type: System.Boolean public bool LowercaseUrls { get; set; }
-