Open sandboxFocusImprove this doc

Caching Backends

The CacheAttribute can be used with different caching frameworks or caching servers. This concept is called a caching backend. Caching backends are represented by the CachingBackend abstract class. You can use an existing implementation or implement your own caching backend.

In this chapter

Section Description
Using In-Memory Cache This article shows how to store cached values using the MemoryCache class or the IMemoryCache abstraction.
Using Redis Cache This article shows how to store cached values using Redis and a combination of Redis and the MemoryCache class.

See Also

Reference

MemoryCachingBackend
RedisCachingBackend