LinkOptions Class

Definition

Configures options for generated URLs.

C#
public class LinkOptions
Inheritance
LinkOptions

Constructors

Properties

AppendTrailingSlash

Gets or sets a value indicating whether a trailing slash should be appended to the generated URLs.

LowercaseQueryStrings

Gets or sets a value indicating whether a generated query strings are lowercase. This property will be false unless LowercaseUrls is also true.

LowercaseUrls

Gets or sets a value indicating whether all generated paths URLs are lowercase. Use LowercaseQueryStrings to configure the behavior for query strings.

Applies to

Produk Versi
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0