EaCloud.Redis 6.0.2.4

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

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

EaCloud Redis 缓存组件

说明

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

单机用法

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

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

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

{
  "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. 
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
7.0.8.9 28 6/28/2024
7.0.8.8 46 6/26/2024
7.0.8.7 70 6/22/2024
7.0.8.6 62 6/14/2024
7.0.8.5 83 5/31/2024
7.0.8.4 76 5/21/2024
7.0.8.3 86 5/21/2024
7.0.8.2 61 5/20/2024
7.0.8.1 76 5/20/2024
7.0.7.9 82 5/15/2024
7.0.7.8 54 5/10/2024
7.0.7.7 67 5/9/2024
7.0.7.6 66 5/9/2024
7.0.7.5 75 5/7/2024
7.0.7.4 83 4/28/2024
7.0.7.3 84 4/26/2024
7.0.7.2 84 4/21/2024
7.0.7.1 73 4/19/2024
7.0.6.9 107 4/15/2024
7.0.6.8 73 4/11/2024
7.0.6.7 79 4/11/2024
7.0.6.6 85 4/7/2024
7.0.6.5 84 4/7/2024
7.0.6.4 83 4/7/2024
7.0.6.3 88 4/7/2024
7.0.6.2 76 4/3/2024
7.0.6.1 87 4/3/2024
7.0.5.9 78 3/27/2024
7.0.5.8 91 3/23/2024
7.0.5.7 85 3/17/2024
7.0.5.6 78 3/17/2024
7.0.5.5 96 3/16/2024
7.0.5.4 78 3/13/2024
7.0.5.3 84 3/13/2024
7.0.5.2 86 3/6/2024
7.0.5.1 87 2/21/2024
7.0.4.9 92 2/21/2024
7.0.4.8 72 2/18/2024
7.0.4.7 89 2/5/2024
7.0.4.6 84 2/1/2024
7.0.4.5 91 1/26/2024
7.0.4.4 92 1/22/2024
7.0.4.3 97 1/17/2024
7.0.4.2 78 1/16/2024
7.0.4.1 83 1/16/2024
7.0.3.9 84 1/15/2024
7.0.3.8 121 1/3/2024
7.0.3.7 111 12/28/2023
7.0.3.6 108 12/27/2023
7.0.3.5 113 12/22/2023
7.0.3.4 93 12/22/2023
7.0.3.3 108 12/13/2023
7.0.3.2 88 12/13/2023
7.0.3.1 99 12/12/2023
7.0.2.9 132 11/26/2023
7.0.2.8 112 11/26/2023
7.0.2.7 139 9/26/2023
7.0.2.6 120 9/25/2023
7.0.2.5 109 9/15/2023
7.0.2.4 123 7/27/2023
7.0.2.3 148 7/22/2023
7.0.2.2 135 7/22/2023
7.0.2.1 132 7/21/2023
7.0.1.9 143 7/21/2023
7.0.1.8 131 7/20/2023
7.0.1.7 131 7/20/2023
7.0.1.6 172 7/4/2023
7.0.1.5 159 6/16/2023
7.0.1.4 152 6/13/2023
7.0.1.3 166 6/8/2023
7.0.1.2 250 6/2/2023
7.0.1.1 173 5/11/2023
7.0.0.9 167 5/10/2023
7.0.0.8 167 5/10/2023
7.0.0.7 181 4/19/2023
7.0.0.6 187 4/18/2023
7.0.0.5 226 3/27/2023
7.0.0.4 228 3/23/2023
7.0.0.3 299 1/31/2023
7.0.0.2 274 1/30/2023
7.0.0.1 314 12/24/2022
6.0.2.5 337 11/16/2022
6.0.2.4 348 11/10/2022
6.0.2.3 411 10/11/2022
6.0.2.2 438 9/23/2022
6.0.2.1 451 8/14/2022
6.0.1.9 437 8/13/2022
6.0.1.8 425 6/6/2022
6.0.1.7 447 5/26/2022
6.0.1.6 463 5/11/2022
6.0.1.5 445 5/10/2022
6.0.1.4 477 4/8/2022
6.0.1.3 477 4/2/2022
6.0.1.2 454 4/2/2022
6.0.1.1 467 3/18/2022
6.0.0.9 487 3/5/2022
6.0.0.8 464 2/19/2022
6.0.0.7 457 2/15/2022
6.0.0.6 462 2/14/2022
6.0.0.5 477 1/28/2022
6.0.0.4 476 1/13/2022
6.0.0.3 469 1/12/2022
6.0.0.2 317 12/21/2021
6.0.0.1 331 12/13/2021
5.0.3.7 419 10/16/2021
5.0.3.6 346 10/14/2021
5.0.3.5 342 10/13/2021
5.0.3.4 383 10/8/2021
5.0.3.3 354 9/17/2021
5.0.3.2 376 9/16/2021
5.0.3.1 333 9/15/2021
5.0.2.9 353 9/15/2021
5.0.2.8 359 8/31/2021
5.0.2.7 377 8/28/2021
5.0.2.6 362 8/22/2021
5.0.2.5 339 8/13/2021
5.0.2.4 347 8/13/2021
5.0.2.3 406 7/8/2021
5.0.2.2 373 7/1/2021
5.0.2.1 397 6/16/2021
5.0.1.9 361 5/12/2021
5.0.1.8 383 5/9/2021
5.0.1.7 421 5/7/2021
5.0.1.6 393 4/17/2021
5.0.1.5 339 4/16/2021
5.0.1.4 356 4/15/2021
5.0.1.3 346 4/15/2021
5.0.1.2 371 4/12/2021
5.0.1.1 358 4/8/2021