PostSharp Caching

PostSharp allows you to dramatically reduce the complexity of caching. It allows you to cache the return value of a method as a function of its arguments with just a custom attribute, namely the CacheAttribute aspect. The InvalidateCacheAttribute aspect and the CachingServices.Invalidation API offer a strongly-typed way to invalidate cached methods. Additionally, PostSharp is independent from the caching framework or server (called caching backend), so you can choose from several backends or implement an adapter for your own backend.

Caching is a great way to improve the latency an application. Traditionally, when you implement caching, you need to play with the API of the caching framework (such as MemoryCache) or caching server (such as Redis) and to include moderately complex logic to your source code to generate the cache key, check the existence of the item in the cache, and add the item into the cache. Another source of complexity stems from removing items from the cache when the source data is updated. Implementing...

Latest News

PostSharp v2023
PostSharp v2023
January 26, 2023New Version
Adds support for .NET 7.0 and C# 11.
PostSharp v6.10.14
PostSharp v6.10.14
August 4, 2022New Version
Logging property prefixes are now configurable.
PostSharp Caching v6.10
PostSharp Caching v6.10
December 3, 2021New Version
Adds support for Microsoft Visual Studio 2022.
PostSharp v6.8.9
PostSharp v6.8.9
February 15, 2021New Version
Adds the ability to disable logging for the current transaction.
PostSharp v6.6.x
PostSharp v6.6.x
April 24, 2020New Version
Introduces source repository subscriptions based on lines of code.

Prices from: $ 147.00

One software license is required per developer and are perpetual. Includes 1 year subscription (support and updates), Unlimited number of build servers, Royalty-free redistribution of runtimes...

PostSharp Caching is also available in:

Got a Question?

Live Chat with our PostSharp Technologies licensing specialists now.

PostSharp Technologies
As official and authorized distributors, ComponentSource supplies you with legitimate licenses directly from PostSharp Technologies.
Add-In
  • Microsoft Visual Studio 2022
  • Microsoft Visual Studio 2019
  • Microsoft Visual Studio 2017

Recent Awards

PublisherPublisherPublisher