xBei.Redis.Extension
1.1.11
dotnet add package xBei.Redis.Extension --version 1.1.11
NuGet\Install-Package xBei.Redis.Extension -Version 1.1.11
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="xBei.Redis.Extension" Version="1.1.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xBei.Redis.Extension --version 1.1.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: xBei.Redis.Extension, 1.1.11"
#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.
// Install xBei.Redis.Extension as a Cake Addin #addin nuget:?package=xBei.Redis.Extension&version=1.1.11 // Install xBei.Redis.Extension as a Cake Tool #tool nuget:?package=xBei.Redis.Extension&version=1.1.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
xBei.Redis.Extension
基于StackExchange.Redis的Redis操作类库
安装
dotnet add package xBei.Redis.Extension
更新历史
1.1.11
- 支持 net8.0
1.1.10
- 支持读写字节数组
1.1.9
- 简单实现订阅功能
1.1.8
- 移除 net5 支持
- 使用
RedisClientJsonConfig
配置JSON的系列化参数
1.1.7
- 移除 netcoreapp2.1 支持
- 使用
System.Text.Json
替换Newtonsoft.Json
用法
redisClient.Database
可以直接使用StackExchange.Redis.IDatabase
的所有方法。
redisClient.SetIndex(0)
可以切换数据库。
配置JSON
RedisClient.JsonConfig(options => {
options.Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping;
options.WriteIndented = false,
return options;
});
RedisClient.JsonConfig(options => {
return new System.Text.Json.JsonSerializerOptions {
Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
WriteIndented = false,
};
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.Extensions.Options (>= 7.0.1)
- StackExchange.Redis (>= 2.7.10)
-
net7.0
- Microsoft.Extensions.Options (>= 7.0.1)
- StackExchange.Redis (>= 2.7.10)
-
net8.0
- Microsoft.Extensions.Options (>= 8.0.1)
- StackExchange.Redis (>= 2.7.10)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on xBei.Redis.Extension:
Package | Downloads |
---|---|
xBei.Redis.Extension.MsgPack
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.11 | 149 | 1/15/2024 |
1.1.10 | 277 | 11/12/2023 |
1.1.9 | 126 | 11/9/2023 |
1.1.8 | 133 | 10/9/2023 |
1.1.7 | 517 | 9/22/2022 |
1.1.6 | 887 | 6/15/2022 |
1.1.5 | 750 | 3/2/2022 |
1.1.4 | 968 | 8/10/2021 |
1.1.2 | 622 | 7/23/2021 |
1.1.0 | 565 | 7/21/2021 |
1.0.8 | 2,170 | 9/24/2020 |
1.0.7 | 674 | 1/17/2020 |
1.0.6 | 1,614 | 12/4/2019 |
1.0.2 | 559 | 5/22/2019 |
1.0.0 | 549 | 5/20/2019 |