PostSharp Caching
간단한 사용자 지정 특성으로 .NET 앱의 성능을 향상시킵니다.
PostSharp Technologies사에서 공개
2015년 부터 ComponentSource에서 판매중
가격: ₩ 202,400 버젼: v2024.x NEW 업데이트: 월간
간단한 사용자 지정 특성으로 .NET 앱의 성능을 향상시킵니다.
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 caching manually is not only time-consuming, but also is error-prone: it is easy to generate inconsistent cache keys between read and update methods.
With PostSharp Caching you can cache your methods with just a simple custom attribute:
Declarative caching and invalidation
Object-oriented invalidation
PostSharp Caching Features