EaCloud.Redis 7.0.8.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package EaCloud.Redis --version 7.0.8.9                
NuGet\Install-Package EaCloud.Redis -Version 7.0.8.9                
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="EaCloud.Redis" Version="7.0.8.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EaCloud.Redis --version 7.0.8.9                
#r "nuget: EaCloud.Redis, 7.0.8.9"                
#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 EaCloud.Redis as a Cake Addin
#addin nuget:?package=EaCloud.Redis&version=7.0.8.9

// Install EaCloud.Redis as a Cake Tool
#tool nuget:?package=EaCloud.Redis&version=7.0.8.9                

EaCloud Redis 缓存组件

Member project of EaCloud Team NuGet Badge GitHub license

说明

EaCloud Redis 缓存组件,封装基于 Redis 客户端的缓存实现。

单机用法

如果只是单台服务器使用Redis,可按照如下配置方式使用:

  1. 通过nuget引用 EaCloud.Redis 程序集
Install-Package EaCloud.Redis
  1. appsettings.json 中 的 EaCloud 节点下添加如下配置节点
{
    //缓存选项信息
    "Redis": {
      "Configuration": "localhost", //Redis连接配置(本地)
      //"Configuration": "127.0.0.1:6379,password=xxxxx",  //Redis连接配置(远程)
      "InstanceName": "EaCloudRedis", //Redis实例名称
      "Enabled": false //是否启用
    },
}
  1. Configuration本地配置无需密码,只要填写localhost,如远程配置需密码,参考格式127.0.0.1:6379,password=xxxxx
  2. InstanceName建议以:结尾。
  3. 如果要禁用Redis缓存功能,设置上面的配置Enabled: false即可。当启用Redis时,会自动清除已有的IDistributedCache分布式缓存实现。

集群用法

如果要使用多服务器使用Redis集群,可通过继承基类RedisPackCore重写,给RedisCacheOptions.ConfigurationOptions属性赋值即可。

交流

QQ WeChat
QQ群号:863605868 微信号:SeonHu
Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.1.7 91 10/9/2024
8.0.1.6 91 9/29/2024
8.0.1.5 95 9/13/2024
8.0.1.4 116 8/10/2024
8.0.1.3 96 8/7/2024
8.0.1.2 99 8/7/2024
8.0.1.1 89 8/7/2024
8.0.0.9 98 8/7/2024
8.0.0.8 91 8/5/2024
8.0.0.7 89 8/2/2024
8.0.0.6 94 8/1/2024
8.0.0.5 92 8/1/2024
8.0.0.4 79 7/31/2024
8.0.0.3 81 7/30/2024
8.0.0.2 74 7/25/2024
8.0.0.1 73 7/24/2024
7.0.9.4 111 7/19/2024
7.0.9.3 98 7/11/2024
7.0.9.2 90 7/6/2024
7.0.9.1 93 7/3/2024
7.0.8.9 103 6/28/2024
7.0.8.8 110 6/26/2024
7.0.8.7 104 6/22/2024
7.0.8.6 88 6/14/2024
7.0.8.5 105 5/31/2024
7.0.8.4 98 5/21/2024
7.0.8.3 108 5/21/2024
7.0.8.2 85 5/20/2024
7.0.8.1 102 5/20/2024
7.0.7.9 105 5/15/2024
7.0.7.8 75 5/10/2024
7.0.7.7 92 5/9/2024
7.0.7.6 89 5/9/2024
7.0.7.5 101 5/7/2024
7.0.7.4 103 4/28/2024
7.0.7.3 106 4/26/2024
7.0.7.2 95 4/21/2024
7.0.7.1 97 4/19/2024
7.0.6.9 129 4/15/2024
7.0.6.8 91 4/11/2024
7.0.6.7 102 4/11/2024
7.0.6.6 109 4/7/2024
7.0.6.5 107 4/7/2024
7.0.6.4 113 4/7/2024
7.0.6.3 112 4/7/2024
7.0.6.2 96 4/3/2024
7.0.6.1 104 4/3/2024
7.0.5.9 101 3/27/2024
7.0.5.8 111 3/23/2024
7.0.5.7 112 3/17/2024
7.0.5.6 103 3/17/2024
7.0.5.5 122 3/16/2024
7.0.5.4 102 3/13/2024
7.0.5.3 109 3/13/2024
7.0.5.2 115 3/6/2024
7.0.5.1 113 2/21/2024
7.0.4.9 115 2/21/2024
7.0.4.8 111 2/18/2024
7.0.4.7 114 2/5/2024
7.0.4.6 111 2/1/2024
7.0.4.5 114 1/26/2024
7.0.4.4 120 1/22/2024
7.0.4.3 123 1/17/2024
7.0.4.2 99 1/16/2024
7.0.4.1 105 1/16/2024
7.0.3.9 107 1/15/2024
7.0.3.8 148 1/3/2024
7.0.3.7 130 12/28/2023
7.0.3.6 125 12/27/2023
7.0.3.5 136 12/22/2023
7.0.3.4 113 12/22/2023
7.0.3.3 141 12/13/2023
7.0.3.2 108 12/13/2023
7.0.3.1 118 12/12/2023
7.0.2.9 153 11/26/2023
7.0.2.8 131 11/26/2023
7.0.2.7 159 9/26/2023
7.0.2.6 141 9/25/2023
7.0.2.5 133 9/15/2023
7.0.2.4 143 7/27/2023
7.0.2.3 168 7/22/2023
7.0.2.2 155 7/22/2023
7.0.2.1 156 7/21/2023
7.0.1.9 168 7/21/2023
7.0.1.8 157 7/20/2023
7.0.1.7 152 7/20/2023
7.0.1.6 192 7/4/2023
7.0.1.5 179 6/16/2023
7.0.1.4 174 6/13/2023
7.0.1.3 186 6/8/2023
7.0.1.2 274 6/2/2023
7.0.1.1 193 5/11/2023
7.0.0.9 187 5/10/2023
7.0.0.8 185 5/10/2023
7.0.0.7 201 4/19/2023
7.0.0.6 207 4/18/2023
7.0.0.5 247 3/27/2023
7.0.0.4 247 3/23/2023
7.0.0.3 319 1/31/2023
7.0.0.2 291 1/30/2023
7.0.0.1 332 12/24/2022
6.0.2.5 360 11/16/2022
6.0.2.4 368 11/10/2022
6.0.2.3 432 10/11/2022
6.0.2.2 457 9/23/2022
6.0.2.1 474 8/14/2022
6.0.1.9 457 8/13/2022
6.0.1.8 447 6/6/2022
6.0.1.7 468 5/26/2022
6.0.1.6 490 5/11/2022
6.0.1.5 469 5/10/2022
6.0.1.4 500 4/8/2022
6.0.1.3 499 4/2/2022
6.0.1.2 473 4/2/2022
6.0.1.1 491 3/18/2022
6.0.0.9 506 3/5/2022
6.0.0.8 489 2/19/2022
6.0.0.7 479 2/15/2022
6.0.0.6 486 2/14/2022
6.0.0.5 499 1/28/2022
6.0.0.4 496 1/13/2022
6.0.0.3 489 1/12/2022
6.0.0.2 339 12/21/2021
6.0.0.1 351 12/13/2021
5.0.3.7 440 10/16/2021
5.0.3.6 366 10/14/2021
5.0.3.5 370 10/13/2021
5.0.3.4 405 10/8/2021
5.0.3.3 376 9/17/2021
5.0.3.2 397 9/16/2021
5.0.3.1 362 9/15/2021
5.0.2.9 372 9/15/2021
5.0.2.8 380 8/31/2021
5.0.2.7 396 8/28/2021
5.0.2.6 386 8/22/2021
5.0.2.5 361 8/13/2021
5.0.2.4 368 8/13/2021
5.0.2.3 430 7/8/2021
5.0.2.2 393 7/1/2021
5.0.2.1 421 6/16/2021
5.0.1.9 383 5/12/2021
5.0.1.8 405 5/9/2021
5.0.1.7 444 5/7/2021
5.0.1.6 402 4/17/2021
5.0.1.5 360 4/16/2021
5.0.1.4 381 4/15/2021
5.0.1.3 369 4/15/2021
5.0.1.2 394 4/12/2021