CacheProfile.Location Property

Definition

Gets or sets the location where the data from a particular URL must be cached. If this property is set to a non null value, the "Cache-control" header is set in the Response.

public:
 property Nullable<Microsoft::AspNetCore::Mvc::ResponseCacheLocation> Location { Nullable<Microsoft::AspNetCore::Mvc::ResponseCacheLocation> get(); void set(Nullable<Microsoft::AspNetCore::Mvc::ResponseCacheLocation> value); };
public Microsoft.AspNetCore.Mvc.ResponseCacheLocation? Location { get; set; }
member this.Location : Nullable<Microsoft.AspNetCore.Mvc.ResponseCacheLocation> with get, set
Public Property Location As Nullable(Of ResponseCacheLocation)

Property Value

Applies to