CacheManager extension package providing JSON serialization for distributed caches. 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 a Newtonsoft.Json based serializer implementation which can be used instead of the default binary serializer.
See the version list below for details.
Install-Package CacheManager.Serialization.Json -Version 1.0.1
dotnet add package CacheManager.Serialization.Json --version 1.0.1
<PackageReference Include="CacheManager.Serialization.Json" Version="1.0.1" />
paket add CacheManager.Serialization.Json --version 1.0.1
#r "nuget: CacheManager.Serialization.Json, 1.0.1"
// Install CacheManager.Serialization.Json as a Cake Addin #addin nuget:?package=CacheManager.Serialization.Json&version=1.0.1 // Install CacheManager.Serialization.Json as a Cake Tool #tool nuget:?package=CacheManager.Serialization.Json&version=1.0.1
# Release 1.0.1
* Improvements for using CacheManager in ASP.NET Core DI, new overloads for the `IServiceCollection`
* Fixed an issue with NuGet references when CacheManager.Core was referenced implicitly only #147
* Extended the `RemoveByHandle` event to also return the removed cache value (if possible). This is not supported for Redis key-events based triggers #144
# Release 1.0.0
* New serializer(s) based on [Microsoft.Bond](https://github.com/Microsoft/bond) supporting all three Bond serializers! #127
* Eviction based events reacting on the cache vendor specific evictions see #116
* New event on `BaseCacheManager` with information about which cache handle and why the event was triggered
* With this, CacheManager now can sync the cache `Up`.
**Minor New Things**
* Dictionary Cache Handle now has a timer based eviction loop which should be more reliable.
* The Memcached cache handle now finally has a working clear region function #104
* All serializers can be used via Microsoft's configuration extensions as known types (also added to the json schema)
* Memcached and Redis cache handles now can be configured to use an already initialized client. The `WithxyzHandle` extension methods have new overloads to pass in the existing client. #118
* #134 Serialization had some issues in some cases with loading the correct Types
* #136 when working with absolute expiration, there were some odds when renewing the expiration date
* Memcached handle had a bug in version 0.9.3 when configured via xml configuration section, see #118
* UpdateMode `Full` has been removed
* Minimum netstandard has been increased to 1.2 from 1.1 for the `Core` package
Please report any bugs on github, and feel free to ask questions on either StackOverflow with the `[cachemanager]` tag or on our (moved) homepage http://cachemanager.michaco.net/.
NuGet packages (21)
Showing the top 5 NuGet packages that depend on CacheManager.Serialization.Json:
基于 Dapper 及 SqlKata 的通用数据库操作库，支持SqlServer、MySql、PostgreSql以及SQLite。
Essencial tools to agile development.
A custom built .net core web api application framework.
GitHub repositories (6)
Showing the top 5 popular GitHub repositories that depend on CacheManager.Serialization.Json:
.NET core API Gateway
SS CMS 基于 .NET Core，能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
EF Core Second Level Cache Interceptor
Entity Framework Core Second Level Caching Library