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
#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

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 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.

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 84 1/15/2024
1.1.10 140 11/12/2023
1.1.9 98 11/9/2023
1.1.8 109 10/9/2023
1.1.7 491 9/22/2022
1.1.6 824 6/15/2022
1.1.5 722 3/2/2022
1.1.4 941 8/10/2021
1.1.2 595 7/23/2021
1.1.0 533 7/21/2021
1.0.8 2,145 9/24/2020
1.0.7 653 1/17/2020
1.0.6 1,587 12/4/2019
1.0.2 532 5/22/2019
1.0.0 527 5/20/2019