Language

CacheView.VaryByQuery Property

Definition

Gets or sets a comma-separated list of query string parameter names to vary the cache by. Use "*" to vary by all query string parameters.

[Microsoft.AspNetCore.Components.Parameter]
public string? VaryByQuery { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.VaryByQuery : string with get, set
Public Property VaryByQuery As String

Property Value

Attributes

Applies to