Liwendong.CacheExtend.CSRedis 1.1.2

dotnet add package Liwendong.CacheExtend.CSRedis --version 1.1.2
                    
NuGet\Install-Package Liwendong.CacheExtend.CSRedis -Version 1.1.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Liwendong.CacheExtend.CSRedis" Version="1.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Liwendong.CacheExtend.CSRedis" Version="1.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Liwendong.CacheExtend.CSRedis" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Liwendong.CacheExtend.CSRedis --version 1.1.2
                    
#r "nuget: Liwendong.CacheExtend.CSRedis, 1.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Liwendong.CacheExtend.CSRedis@1.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Liwendong.CacheExtend.CSRedis&version=1.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Liwendong.CacheExtend.CSRedis&version=1.1.2
                    
Install as a Cake Tool

Liwendong.CacheExtend.CSRedis

CSRdis 扩展类

更新日志

1.1.0 (2026-10-10)

  • 新增:net8.0、net47 目标框架支持,TFM 为 net8.0;netcoreapp3.1;net451;net46;net47;net48(与 Liwendong.CacheExtend 依赖链对齐)

1.0.7 (2026-10-09)

  • 修复:分区模式错误将节点数组写入Sentinels字段(新增PartitionConnectionStrings字段)
  • 修复:CsRedisCoreManage.Dispose 销毁全局单例连接问题
  • 修复:CsRedisCoreManage 异常类型(NullReferenceException → InvalidOperationException/ArgumentException)
  • 修复:Extension.IList.IsSame 对重复元素误判(改为多重集比较)
  • 优化:CSRedisCoreHelper.Set 移除非原子的Exists+SET操作,改为原子SET
  • 优化:默认过期时间从1年统一为1天(与CsRedisCoreManage一致)
  • 优化:CsRedisCoreManage.Remove 改用批量删除API
  • 修复:DelStartWith 递归方法未await导致删除未完成

1.0.6

  • 修复哨兵模式重初始化逻辑

1.0.4

  • 主要修复了 keys关键字查找

版本历史

1.1.2 (2026-10-20)

  • 优化:CSRedisCoreHelper.Clear 补充 FLUSHDB 共享数据库误删警告文档(数据库级清空,非按应用/前缀隔离)

1.1.1 (2026-10-17)

  • 修复:构造函数静默忽略不同连接串的问题(现改为明确报错,防止数据写进错误的 Redis);初始化加锁防并发创建多个连接;Dispose 判空并重置 IsOpen;GetExpire 对 PTtl -1/-2 的错误处理;DelStartWith 递归改循环
  • 优化:GetKeys 补 IsOpen 检查;IndexOf(""poolsize"") 改文化无关比较;UNLINK 版本要求注释修正(需 Redis 4.0+)
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 netcoreapp3.1 is compatible. 
.NET Framework net451 is compatible.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Liwendong.CacheExtend.CSRedis:

Package Downloads
Liwendong.Frameworks.Data.SqlSugarExtend

SqlSugar辅助操作

Liwendong.Wexin.MP.SDK

微信公众号辅助SDK

Liwendong.JwtAuthorize

JWT辅助文件

Liwendong.Frameworks.CacheExtend

基础框架缓存扩展

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.2 248 10/20/2026
1.0.6 882 8/13/2025
1.0.5 338 7/29/2025
1.0.4 1,313 7/11/2023
1.0.3 1,422 12/28/2022
1.0.2 3,627 7/18/2022
1.0.1 930 7/12/2022
1.0.0 4,255 9/10/2021