OutputCacheOptions
OutputCacheOptions()
ApplicationServices
DefaultExpirationTimeSpan
MaximumBodySize
SizeLimit
UseCaseSensitivePaths
AddBasePolicy(IOutputCachePolicy)
AddBasePolicy(Action<OutputCachePolicyBuilder>)
AddBasePolicy(Action<OutputCachePolicyBuilder>, Boolean)
AddPolicy(String, IOutputCachePolicy)
AddPolicy(String, Action<OutputCachePolicyBuilder>)
AddPolicy(String, Action<OutputCachePolicyBuilder>, Boolean)
AddHttpApplicationBasePolicy(OutputCacheOptions, Func<HttpContext, IEnumerable<String>>)
AddHttpApplicationPolicy(OutputCacheOptions, String, Func<HttpContext, IEnumerable<String>>)
net10.0
namespace Microsoft.AspNetCore.OutputCaching
{
public static class HttpApplicationVaryByExtensions
{
public static void AddHttpApplicationPolicy(this OutputCacheOptions! options, string! name, Func<HttpContext!, IEnumerable<string!>!>! keySelector);
}
}
| .NET | 8.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.SystemWebAdapters.CoreServices , Version=2.2.1.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.SystemWebAdapters.CoreServices (2.2.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API