DBCacheCore 4.4.7
dotnet add package DBCacheCore --version 4.4.7
NuGet\Install-Package DBCacheCore -Version 4.4.7
<PackageReference Include="DBCacheCore" Version="4.4.7" />
<PackageVersion Include="DBCacheCore" Version="4.4.7" />
<PackageReference Include="DBCacheCore" />
paket add DBCacheCore --version 4.4.7
#r "nuget: DBCacheCore, 4.4.7"
#:package DBCacheCore@4.4.7
#addin nuget:?package=DBCacheCore&version=4.4.7
#tool nuget:?package=DBCacheCore&version=4.4.7
基于redis与dapper的数据库缓存中间件。利用redis分布式锁来确保数据库与缓存的强一致性,并且有效解决缓存击穿、缓存雪崩等问题。
3.2.0 添加新成员QueryCache,提供对查询结果的缓存
3.2.1 QueryCache 加入异步方法
3.3.0 引入redlock.net组件
3.3.2 支持更多操作redis的方法
3.4.0 框架升级到netstandard2.1
4.0.0 整体重构项目,依赖完全解耦,使代码结构更加抽象化,并且更加开放,易扩展。此次版本更新较大,更新请慎重!
4.1.0 分布式锁抽象化,内置redlock
4.2.0 添加新成员HashCache,提供对字典类型的查询结果缓存
4.3.0 移除MySql.Data和System.Data.SqlClient的引用,新增DBCache.MySQL和DBCache.SqlServer两个nuget包
4.3.2 移除Newtonsoft.Json,并添加System.Text.Json
4.3.6 增加更多操作HashCache的方法
4.4.0 支持配置中心,所有配置项均支持热更新
帮助文档正在完善中......
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- dapper (>= 2.1.24)
- Dapper.Contrib (>= 2.0.78)
- FastReflectionLib (>= 1.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.1.0)
- RedLock.net (>= 2.3.2)
- StackExchange.Redis (>= 2.7.4)
- System.Text.Json (>= 6.0.9)
-
net6.0
- dapper (>= 2.1.24)
- Dapper.Contrib (>= 2.0.78)
- FastReflectionLib (>= 1.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
- RedLock.net (>= 2.3.2)
- StackExchange.Redis (>= 2.7.4)
- System.Text.Json (>= 6.0.9)
-
net8.0
- dapper (>= 2.1.24)
- Dapper.Contrib (>= 2.0.78)
- FastReflectionLib (>= 1.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- RedLock.net (>= 2.3.2)
- StackExchange.Redis (>= 2.7.4)
- System.Text.Json (>= 8.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on DBCacheCore:
| Package | Downloads |
|---|---|
|
DBCache.SqlServer
DBCacheCore的SqlServer支持 |
|
|
DBCache.MySQL
DBCacheCore的MySql支持 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.4.7 | 584 | 11/24/2023 |
| 4.4.6 | 212 | 11/24/2023 |
| 4.4.5 | 404 | 9/11/2023 |
| 4.4.3 | 345 | 9/4/2023 |
| 4.4.2 | 428 | 8/2/2023 |
| 4.4.1 | 1,114 | 8/23/2022 |
| 4.4.0 | 1,191 | 7/27/2022 |
| 4.3.6 | 1,124 | 7/15/2022 |
| 4.3.5 | 1,122 | 6/29/2022 |
| 4.3.4 | 1,143 | 6/21/2022 |
| 4.3.2 | 1,089 | 6/17/2022 |
| 4.3.0 | 1,659 | 6/17/2022 |
| 4.2.2 | 575 | 6/17/2022 |
| 4.2.1 | 596 | 6/15/2022 |
| 4.2.0 | 591 | 6/14/2022 |
| 4.1.2 | 571 | 6/9/2022 |
| 4.1.1 | 579 | 6/9/2022 |
| 4.1.0 | 614 | 6/9/2022 |
| 4.0.0 | 622 | 6/8/2022 |
| 3.4.0 | 616 | 6/6/2022 |