CacheManager.Serialization.Json 3.0.0 (original) (raw)

CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.

The main goal of the CacheManager package is to make developer's life easier to handle even very complex caching scenarios.
With CacheManager it is possible to implement multiple layers of caching, e.g. in-process caching in front of a distributed cache, in just a few lines of code.

CacheManager is not just an interface to unify the programming model for various cache providers, which will make it very easy to change the caching strategy later on in a project. It also offers additional features, like cache synchronization, concurrent updates, serialization, events, performance counters... The developer can opt-in to those features only if needed.

Build Status

Branch Status
Dev Build Status
Master Build Status

CacheManager Nuget Packages

Package Name FullFramework .NET Standard net8.0
CacheManager.Core 4.7.2 2.0 net8.0
CacheManager.Microsoft.Extensions.Caching.Memory - 2.0 net8.0
CacheManager.Microsoft.Extensions.Configuration - 2.0 net8.0
CacheManager.Serialization.Bond - 2.0 net8.0
CacheManager.Serialization.DataContract - 2.0 net8.0
CacheManager.Serialization.Json - 2.0 net8.0
CacheManager.Serialization.ProtoBuf - 2.0 net8.0
CacheManager.StackExchange.Redis 4.7.2 2.0 net8.0
CacheManager.SystemRuntimeCaching 4.7.2 2.0 net8.0

Version 2.0 Breaking Changes

Testing with Microsoft.Garnet

For testing and benchmarking, this project is now using Microsoft.Garnet, which allows to create a Redis server which runs in process and is easy to setup. This has some limitations though and before you use Microsoft.Garnet in production, be aware that for example key space notifications are not supported yet.

See https://github.com/microsoft/garnet for details.

Beta Packages

Beta versions of the CacheManager packages are getting pushed to https://www.myget.org/feed/Packages/dnsclient on each build.

To find which check-in created which build, use this build history.

Documentation

Documentation can be found on cachemanager.michaco.net:

Generated API documentation is also available.

Blog Posts

CacheManager related blog posts can be found on my website

Examples

Benchmarks

See benchmarks results on GitHub.

List of Features

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed.
.NET Core netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.
.NET Standard netstandard2.0 is compatible. netstandard2.1 was computed.
.NET Framework net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.
MonoAndroid monoandroid was computed.
MonoMac monomac was computed.
MonoTouch monotouch was computed.
Tizen tizen40 was computed. tizen60 was computed.
Xamarin.iOS xamarinios was computed.
Xamarin.Mac xamarinmac was computed.
Xamarin.TVOS xamarintvos was computed.
Xamarin.WatchOS xamarinwatchos was computed.

NuGet packages (31)

Showing the top 5 NuGet packages that depend on CacheManager.Serialization.Json:

Package Downloads
Ocelot.Cache.CacheManager Provides Ocelot extensions to use CacheManager.NET 1.7M
Datory 基于 Dapper 及 SqlKata 的通用数据库操作库,支持MySQL、SQLServer、PostgreSql、达梦、人大金仓以及 Sqlite 等多种数据库类型。 119.2K
BSynchro.Cache Package Description 96.1K
BSynchro.RatingEngine.Core Package Description 42.2K
Inaction.Extensions .net core 快速开发框架,请下载Inaction.Web 24.8K

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on CacheManager.Serialization.Json:

Repository Stars
VahidN/EFCoreSecondLevelCacheInterceptor EF Core Second Level Cache Interceptor 958
VahidN/EFSecondLevelCache.Core Entity Framework Core Second Level Caching Library 326
guoming/Hummingbird 分布式锁,分布式ID,分布式消息队列、配置中心、注册中心、服务注册发现、超时、重试、熔断、负载均衡 293
DavidChild/Bitter.Core.Orm.NetCore bitter.core is a high-performance and easy-to-use netcore / netframework orm framework. I think you'll love it. designed for development and efficiency. efficiency, high performance and high stability are always the pursuit of programmers. bittercore was born for that. you want to be lazy, even lazier! simple, more simple! controllable, more controllable! please use it bitter.Core . 205

Include prerelease

Include vulnerable

Include deprecated

Version Downloads Last Updated
3.0.0 16,639 2/18/2026
3.0.0-beta-20251110.1 662 11/10/2025
2.0.0 161,254 3/6/2025
2.0.0-beta-20250302.24 261 3/2/2025
2.0.0-beta-20250302.12 296 3/2/2025
2.0.0-beta-1629 467,652 11/15/2018
1.2.0 4,422,754 12/6/2018
1.1.2 728,001 11/18/2017
1.1.1 168,137 7/2/2017
1.1.0 21,482 6/5/2017
1.0.1 14,271 4/20/2017
1.0.0 25,946 3/19/2017
1.0.0-beta-1456 2,223 3/14/2017
0.9.3 20,682 2/3/2017
0.9.2 34,864 12/1/2016
0.9.1 32,536 9/23/2016
0.9.0 11,233 8/21/2016
0.8.0 48,188 2/28/2016
0.7.4 8,050 2/14/2016