This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

Caching Back-Ends

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

In this chapter

Section

Description

Using In-Memory Cache

This article shows how to store cached values using MemoryCache class.

Using Redis Cache

This article shows how to store cached values using Redis and using a combination of Redis and MemoryCache class.

See Also