OutputCacheAttribute.NoStore Property

Definition

Gets or sets the value which determines whether the response should be cached or not. When set to true, the response won't be cached.

C#
public bool NoStore { get; init; }

Property Value

Applies to

Product Versions
ASP.NET Core 7.0, 8.0, 9.0