Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Configuration Inheritance: System.Enum

Syntax

Microsoft.OData.Mcp.Core.Configuration.CacheProviderType

Summary

Defines the cache provider types.

Remarks

Cache provider types determine the underlying storage mechanism and distribution characteristics of the caching system. Each type offers different trade-offs between performance, persistence, and scalability.

Values

NameValueDescription
Memory0In-memory cache within the application process.
Distributed1Distributed cache shared across multiple application instances.
Redis2Redis-based distributed cache.
SqlServer3SQL Server-based distributed cache.
Custom4Custom cache provider implementation.