Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Microsoft.Extensions.Caching.Hybrid Namespace

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Contains types for hybrid caching, combining in-memory and distributed caching strategies.

Classes

Name Description
HybridCache

Provides multi-tier caching services building on IDistributedCache backends.

HybridCacheEntryOptions

Specifies additional options (for example, expiration) that apply to a HybridCache operation. When options can be specified at multiple levels (for example, globally and per-call), the values are composed; the most granular non-null value is used, with null values being inherited. If no value is specified at any level, the implementation can choose a reasonable default.

HybridCacheOptions

Options for configuring the default HybridCache implementation.

Interfaces

Name Description
IHybridCacheBuilder

Helper API for configuring HybridCache.

IHybridCacheSerializer<T>

Provides per-type serialization and deserialization support for HybridCache.

IHybridCacheSerializerFactory

Factory provider for per-type IHybridCacheSerializer<T> instances.

Enums

Name Description
HybridCacheEntryFlags

Additional flags that apply to a HybridCache operation.


Feedback

Was this page helpful?