Namespace Cuemon.Runtime.Caching
Cache application data through a simple, generic caching API with SlimMemoryCache as the lightweight in-memory implementation. Use this namespace when you need application-level caching with a generic API. Start with SlimMemoryCache for in-memory caching, or implement ICache<TKey> for custom cache backends.
Availability: .NET 10, .NET 9 and .NET Standard 2.0
Complements: System.Runtime.Caching namespace 🔗
Related: Cuemon.Extensions.Runtime.Caching namespace 📘
Classes
CacheEntry
Represents an individual cache entry in the cache.
CacheEntryEventArgs
Provides data for cache related operations. This class cannot be inherited.
CacheInvalidation
Represents a set of eviction and expiration details for a specific cache entry.
CachingManager
Provides access to caching in an application.
SlimMemoryCache
Represents the type that implements an in-memory cache for an application.
SlimMemoryCacheOptions
Configuration options for SlimMemoryCache.
Interfaces
ICacheEnumerable<TKey>
An interface that is used to provide cache implementations for an application.