PostSharpCachingCaching Back-Ends
Open sandboxFocusImprove this doc

Caching Back-Ends

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 <xref:System.Runtime.Caching.MemoryCache> class or the IMemoryCache abstraction.
Using Redis Cache This article shows how to store cached values using Redis and using a combination of Redis and <xref:System.Runtime.Caching.MemoryCache> class.

See Also

Reference

MemoryCachingBackend
RedisCachingBackend