EaCloud.Redis 6.0.0.6

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

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

EaCloud Redis 缓存组件

说明

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

单机用法

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

  1. 通过nuget引用 EaCloud.Redis 程序集

Install-Package EaCloud.Redis 2. 在 appsettings.json 中添加如下配置节点

{
  "EaCloud": {
    "Redis": {
      "Configuration": "localhost",
      // "Configuration": "192.168.70.99:6379,password=xxxxx",
      "InstanceName": "EaCloudDemo",
      "Enabled": "true" 
    } 
  }
}
  1. 如果要禁用Redis缓存功能,设置上面的配置 Enabled: false 即可。当启用Redis时,会自动清除已有的IDistributedCache分布式缓存实现

集群用法

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

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 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 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.  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. 
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.9 96 11/15/2024
8.0.1.8 97 11/13/2024
8.0.1.7 108 10/9/2024
8.0.1.6 106 9/29/2024
8.0.1.5 107 9/13/2024
8.0.1.4 128 8/10/2024
8.0.1.3 109 8/7/2024
8.0.1.2 110 8/7/2024
8.0.1.1 106 8/7/2024
8.0.0.9 111 8/7/2024
8.0.0.8 103 8/5/2024
8.0.0.7 105 8/2/2024
8.0.0.6 108 8/1/2024
8.0.0.5 104 8/1/2024
8.0.0.4 97 7/31/2024
8.0.0.3 94 7/30/2024
8.0.0.2 91 7/25/2024
8.0.0.1 85 7/24/2024
7.0.9.4 126 7/19/2024
7.0.9.3 113 7/11/2024
7.0.9.2 108 7/6/2024
7.0.9.1 110 7/3/2024
7.0.8.9 118 6/28/2024
7.0.8.8 123 6/26/2024
7.0.8.7 117 6/22/2024
7.0.8.6 103 6/14/2024
7.0.8.5 116 5/31/2024
7.0.8.4 109 5/21/2024
7.0.8.3 119 5/21/2024
7.0.8.2 98 5/20/2024
7.0.8.1 117 5/20/2024
7.0.7.9 122 5/15/2024
7.0.7.8 88 5/10/2024
7.0.7.7 104 5/9/2024
7.0.7.6 101 5/9/2024
7.0.7.5 116 5/7/2024
7.0.7.4 113 4/28/2024
7.0.7.3 121 4/26/2024
7.0.7.2 104 4/21/2024
7.0.7.1 110 4/19/2024
7.0.6.9 140 4/15/2024
7.0.6.8 105 4/11/2024
7.0.6.7 114 4/11/2024
7.0.6.6 120 4/7/2024
7.0.6.5 118 4/7/2024
7.0.6.4 122 4/7/2024
7.0.6.3 123 4/7/2024
7.0.6.2 108 4/3/2024
7.0.6.1 116 4/3/2024
7.0.5.9 111 3/27/2024
7.0.5.8 120 3/23/2024
7.0.5.7 122 3/17/2024
7.0.5.6 115 3/17/2024
7.0.5.5 131 3/16/2024
7.0.5.4 113 3/13/2024
7.0.5.3 119 3/13/2024
7.0.5.2 124 3/6/2024
7.0.5.1 125 2/21/2024
7.0.4.9 124 2/21/2024
7.0.4.8 120 2/18/2024
7.0.4.7 124 2/5/2024
7.0.4.6 123 2/1/2024
7.0.4.5 122 1/26/2024
7.0.4.4 128 1/22/2024
7.0.4.3 133 1/17/2024
7.0.4.2 110 1/16/2024
7.0.4.1 114 1/16/2024
7.0.3.9 116 1/15/2024
7.0.3.8 156 1/3/2024
7.0.3.7 140 12/28/2023
7.0.3.6 133 12/27/2023
7.0.3.5 146 12/22/2023
7.0.3.4 121 12/22/2023
7.0.3.3 150 12/13/2023
7.0.3.2 119 12/13/2023
7.0.3.1 126 12/12/2023
7.0.2.9 167 11/26/2023
7.0.2.8 141 11/26/2023
7.0.2.7 174 9/26/2023
7.0.2.6 150 9/25/2023
7.0.2.5 141 9/15/2023
7.0.2.4 154 7/27/2023
7.0.2.3 179 7/22/2023
7.0.2.2 166 7/22/2023
7.0.2.1 164 7/21/2023
7.0.1.9 177 7/21/2023
7.0.1.8 165 7/20/2023
7.0.1.7 160 7/20/2023
7.0.1.6 201 7/4/2023
7.0.1.5 187 6/16/2023
7.0.1.4 184 6/13/2023
7.0.1.3 197 6/8/2023
7.0.1.2 285 6/2/2023
7.0.1.1 204 5/11/2023
7.0.0.9 197 5/10/2023
7.0.0.8 196 5/10/2023
7.0.0.7 211 4/19/2023
7.0.0.6 218 4/18/2023
7.0.0.5 259 3/27/2023
7.0.0.4 259 3/23/2023
7.0.0.3 329 1/31/2023
7.0.0.2 302 1/30/2023
7.0.0.1 343 12/24/2022
6.0.2.5 372 11/16/2022
6.0.2.4 380 11/10/2022
6.0.2.3 442 10/11/2022
6.0.2.2 469 9/23/2022
6.0.2.1 484 8/14/2022
6.0.1.9 468 8/13/2022
6.0.1.8 460 6/6/2022
6.0.1.7 478 5/26/2022
6.0.1.6 500 5/11/2022
6.0.1.5 481 5/10/2022
6.0.1.4 510 4/8/2022
6.0.1.3 510 4/2/2022
6.0.1.2 484 4/2/2022
6.0.1.1 501 3/18/2022
6.0.0.9 519 3/5/2022
6.0.0.8 500 2/19/2022
6.0.0.7 490 2/15/2022
6.0.0.6 497 2/14/2022
6.0.0.5 513 1/28/2022
6.0.0.4 508 1/13/2022
6.0.0.3 500 1/12/2022
6.0.0.2 350 12/21/2021
6.0.0.1 361 12/13/2021
5.0.3.7 453 10/16/2021
5.0.3.6 378 10/14/2021
5.0.3.5 381 10/13/2021
5.0.3.4 416 10/8/2021
5.0.3.3 387 9/17/2021
5.0.3.2 408 9/16/2021
5.0.3.1 374 9/15/2021
5.0.2.9 383 9/15/2021
5.0.2.8 391 8/31/2021
5.0.2.7 407 8/28/2021
5.0.2.6 396 8/22/2021
5.0.2.5 372 8/13/2021
5.0.2.4 379 8/13/2021
5.0.2.3 441 7/8/2021
5.0.2.2 404 7/1/2021
5.0.2.1 434 6/16/2021
5.0.1.9 392 5/12/2021
5.0.1.8 419 5/9/2021
5.0.1.7 454 5/7/2021
5.0.1.6 412 4/17/2021
5.0.1.5 373 4/16/2021
5.0.1.4 393 4/15/2021
5.0.1.3 380 4/15/2021
5.0.1.2 407 4/12/2021