xBei.Redis.Extension 1.1.11.2

dotnet add package xBei.Redis.Extension --version 1.1.11.2
                    
NuGet\Install-Package xBei.Redis.Extension -Version 1.1.11.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="xBei.Redis.Extension" Version="1.1.11.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="xBei.Redis.Extension" Version="1.1.11.2" />
                    
Directory.Packages.props
<PackageReference Include="xBei.Redis.Extension" />
                    
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 xBei.Redis.Extension --version 1.1.11.2
                    
#r "nuget: xBei.Redis.Extension, 1.1.11.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 xBei.Redis.Extension@1.1.11.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=xBei.Redis.Extension&version=1.1.11.2
                    
Install as a Cake Addin
#tool nuget:?package=xBei.Redis.Extension&version=1.1.11.2
                    
Install as a Cake Tool

xBei.Redis.Extension

基于StackExchange.Redis的Redis操作类库

star fork xBei.Redis.Extension downloads xBei.Redis.Extension nuget

安装

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 Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2 137 6/27/2025
1.1.11.1 154 4/27/2025
1.1.11 198 1/15/2024
1.1.10 463 11/12/2023
1.1.9 145 11/9/2023
1.1.8 158 10/9/2023
1.1.7 564 9/22/2022
1.1.6 952 6/15/2022
1.1.5 812 3/2/2022
1.1.4 1,034 8/10/2021
1.1.2 684 7/23/2021
1.1.0 715 7/21/2021
1.0.8 2,248 9/24/2020
1.0.7 760 1/17/2020
1.0.6 1,696 12/4/2019
1.0.2 651 5/22/2019
1.0.0 635 5/20/2019