CacheManager.Core 0.9.3

CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features. The Core library contains all base interfaces and tools. You should install at least one other CacheManager package to get cache handle implementations.

There is a newer version of this package available.
See the version list below for details.
Install-Package CacheManager.Core -Version 0.9.3
dotnet add package CacheManager.Core --version 0.9.3
<PackageReference Include="CacheManager.Core" Version="0.9.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CacheManager.Core --version 0.9.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This release has some new features and fixes.

**New Features**
* Exists method to check if the key exists without actually retrieving it (if supported by the cache vendor) #46
* Added more "knownTypes" to Microsoft.Extensions.Configuration based CacheManager configuration's json schema #125 #123
  * for the Microsoft.Extensions.Caching.MemoryCache based cache handle
  * Protobuf serializer
  * GzJson serializer
* Allow Memcached and Redis cache handles to use pre existing cache clients. The clients can now be passed into the configuration methods `WithRedisConfiguration`, `WithMemcachedHandle`.  #118

**Other Changes**
* Instead of CacheManagerConfiguration now ICacheManagerConfiguration will be used everywhere (more injection friendly)
* Improved validation at configuration time in case a cache handle requires a serializer, but none is defined (only net core target as full framework falls back to binary).
* custom serialization logic for memcached to use our cache serializers instead of the build in binary.
* Added overload to configure binary serializer settings during configuration.

**Bug fixes**
* Validate expiration timeout not being in the past #74
* Changed update mechanism in the redis implementation to use a version field #109
* Fixed a bug where the mechanic in CacheManager which adds a key/value to other cache handles does not correctly apply expiration settings based on the cache handle configuration when it comes from Redis.
* other minor things

Please report any bugs or issues you find on [github](https://github.com/MichaCo/CacheManager)

GitHub repositories (5+)

Showing the top 5 GitHub repositories that depend on CacheManager.Core:

Repository Stars
ThreeMammals/Ocelot
.NET core API Gateway
siteserver/cms
SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
SparkDevNetwork/Rock
An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
VahidN/EFSecondLevelCache.Core
Entity Framework Core Second Level Caching Library
VahidN/EFCoreSecondLevelCacheInterceptor
EF Core Second Level Cache Interceptor

Version History

Version Downloads Last updated
2.0.0-beta-1629 49,707 11/15/2018
1.2.0 816,001 12/6/2018
1.1.2 983,739 11/18/2017
1.1.1 227,379 7/2/2017
1.1.0 20,149 6/5/2017
1.0.1 58,760 4/20/2017
1.0.0 22,717 3/19/2017
1.0.0-beta-1456 753 3/14/2017
1.0.0-beta-1455 5,447 3/14/2017
0.9.3 74,539 2/3/2017
0.9.2 71,250 12/1/2016
0.9.1 40,872 9/23/2016
0.9.0 17,871 8/21/2016
0.8.0 83,297 2/28/2016
0.7.4 3,021 2/14/2016
0.7.3 949 2/5/2016
0.7.2 1,497 1/27/2016
0.7.1 3,226 1/20/2016
0.7.0 2,131 12/26/2015
0.6.1 6,958 10/31/2015
0.6.0 4,914 6/9/2015
0.5.0 2,143 4/15/2015
0.4.4.1 965 4/10/2015
0.4.4 950 4/10/2015
0.4.3 1,049 4/4/2015
0.4.2 987 3/31/2015
0.4.1 1,020 3/27/2015
0.4.0 971 3/22/2015
0.3.1 3,430 6/16/2014
0.3.0 1,733 3/5/2014
0.2.0 1,050 2/23/2014
0.1.5 1,090 2/16/2014
Show less