EaCloud.Redis
6.0.2.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EaCloud.Redis --version 6.0.2.1
NuGet\Install-Package EaCloud.Redis -Version 6.0.2.1
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.1" />
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.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EaCloud.Redis, 6.0.2.1"
#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.1 // Install EaCloud.Redis as a Cake Tool #tool nuget:?package=EaCloud.Redis&version=6.0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EaCloud Redis 缓存组件
说明
EaCloud Redis 缓存组件,封装基于 Redis 客户端的缓存实现。
单机用法
如果只是单台服务器使用Redis,可按照如下配置方式使用:
- 通过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"
}
}
}
- 如果要禁用Redis缓存功能,设置上面的配置
Enabled: false
即可。当启用Redis时,会自动清除已有的IDistributedCache
分布式缓存实现
集群用法
如果要使用多服务器使用Redis集群,可通过继承基类RedisPackCore
重写,给RedisCacheOptions.ConfigurationOptions
属性赋值即可。
Product | Versions 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.
-
net6.0
- EaCloud (>= 6.0.2.1)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.8)
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.6 | 40 | 9/29/2024 |
8.0.1.5 | 84 | 9/13/2024 |
8.0.1.4 | 112 | 8/10/2024 |
8.0.1.3 | 91 | 8/7/2024 |
8.0.1.2 | 92 | 8/7/2024 |
8.0.1.1 | 84 | 8/7/2024 |
8.0.0.9 | 91 | 8/7/2024 |
8.0.0.8 | 87 | 8/5/2024 |
8.0.0.7 | 85 | 8/2/2024 |
8.0.0.6 | 90 | 8/1/2024 |
8.0.0.5 | 90 | 8/1/2024 |
8.0.0.4 | 77 | 7/31/2024 |
8.0.0.3 | 78 | 7/30/2024 |
8.0.0.2 | 71 | 7/25/2024 |
8.0.0.1 | 70 | 7/24/2024 |
7.0.9.4 | 108 | 7/19/2024 |
7.0.9.3 | 97 | 7/11/2024 |
7.0.9.2 | 89 | 7/6/2024 |
7.0.9.1 | 92 | 7/3/2024 |
7.0.8.9 | 103 | 6/28/2024 |
7.0.8.8 | 110 | 6/26/2024 |
7.0.8.7 | 99 | 6/22/2024 |
7.0.8.6 | 86 | 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 | 83 | 5/20/2024 |
7.0.8.1 | 102 | 5/20/2024 |
7.0.7.9 | 102 | 5/15/2024 |
7.0.7.8 | 75 | 5/10/2024 |
7.0.7.7 | 91 | 5/9/2024 |
7.0.7.6 | 89 | 5/9/2024 |
7.0.7.5 | 101 | 5/7/2024 |
7.0.7.4 | 101 | 4/28/2024 |
7.0.7.3 | 105 | 4/26/2024 |
7.0.7.2 | 93 | 4/21/2024 |
7.0.7.1 | 95 | 4/19/2024 |
7.0.6.9 | 127 | 4/15/2024 |
7.0.6.8 | 90 | 4/11/2024 |
7.0.6.7 | 100 | 4/11/2024 |
7.0.6.6 | 105 | 4/7/2024 |
7.0.6.5 | 105 | 4/7/2024 |
7.0.6.4 | 111 | 4/7/2024 |
7.0.6.3 | 110 | 4/7/2024 |
7.0.6.2 | 95 | 4/3/2024 |
7.0.6.1 | 103 | 4/3/2024 |
7.0.5.9 | 98 | 3/27/2024 |
7.0.5.8 | 109 | 3/23/2024 |
7.0.5.7 | 108 | 3/17/2024 |
7.0.5.6 | 102 | 3/17/2024 |
7.0.5.5 | 118 | 3/16/2024 |
7.0.5.4 | 100 | 3/13/2024 |
7.0.5.3 | 108 | 3/13/2024 |
7.0.5.2 | 113 | 3/6/2024 |
7.0.5.1 | 112 | 2/21/2024 |
7.0.4.9 | 113 | 2/21/2024 |
7.0.4.8 | 109 | 2/18/2024 |
7.0.4.7 | 112 | 2/5/2024 |
7.0.4.6 | 109 | 2/1/2024 |
7.0.4.5 | 110 | 1/26/2024 |
7.0.4.4 | 118 | 1/22/2024 |
7.0.4.3 | 121 | 1/17/2024 |
7.0.4.2 | 98 | 1/16/2024 |
7.0.4.1 | 104 | 1/16/2024 |
7.0.3.9 | 105 | 1/15/2024 |
7.0.3.8 | 146 | 1/3/2024 |
7.0.3.7 | 128 | 12/28/2023 |
7.0.3.6 | 123 | 12/27/2023 |
7.0.3.5 | 134 | 12/22/2023 |
7.0.3.4 | 111 | 12/22/2023 |
7.0.3.3 | 138 | 12/13/2023 |
7.0.3.2 | 107 | 12/13/2023 |
7.0.3.1 | 114 | 12/12/2023 |
7.0.2.9 | 151 | 11/26/2023 |
7.0.2.8 | 129 | 11/26/2023 |
7.0.2.7 | 158 | 9/26/2023 |
7.0.2.6 | 140 | 9/25/2023 |
7.0.2.5 | 131 | 9/15/2023 |
7.0.2.4 | 141 | 7/27/2023 |
7.0.2.3 | 167 | 7/22/2023 |
7.0.2.2 | 153 | 7/22/2023 |
7.0.2.1 | 154 | 7/21/2023 |
7.0.1.9 | 165 | 7/21/2023 |
7.0.1.8 | 153 | 7/20/2023 |
7.0.1.7 | 150 | 7/20/2023 |
7.0.1.6 | 191 | 7/4/2023 |
7.0.1.5 | 176 | 6/16/2023 |
7.0.1.4 | 172 | 6/13/2023 |
7.0.1.3 | 185 | 6/8/2023 |
7.0.1.2 | 271 | 6/2/2023 |
7.0.1.1 | 192 | 5/11/2023 |
7.0.0.9 | 184 | 5/10/2023 |
7.0.0.8 | 183 | 5/10/2023 |
7.0.0.7 | 199 | 4/19/2023 |
7.0.0.6 | 206 | 4/18/2023 |
7.0.0.5 | 246 | 3/27/2023 |
7.0.0.4 | 247 | 3/23/2023 |
7.0.0.3 | 317 | 1/31/2023 |
7.0.0.2 | 290 | 1/30/2023 |
7.0.0.1 | 332 | 12/24/2022 |
6.0.2.5 | 358 | 11/16/2022 |
6.0.2.4 | 366 | 11/10/2022 |
6.0.2.3 | 430 | 10/11/2022 |
6.0.2.2 | 455 | 9/23/2022 |
6.0.2.1 | 472 | 8/14/2022 |
6.0.1.9 | 456 | 8/13/2022 |
6.0.1.8 | 446 | 6/6/2022 |
6.0.1.7 | 466 | 5/26/2022 |
6.0.1.6 | 486 | 5/11/2022 |
6.0.1.5 | 467 | 5/10/2022 |
6.0.1.4 | 498 | 4/8/2022 |
6.0.1.3 | 498 | 4/2/2022 |
6.0.1.2 | 470 | 4/2/2022 |
6.0.1.1 | 487 | 3/18/2022 |
6.0.0.9 | 505 | 3/5/2022 |
6.0.0.8 | 488 | 2/19/2022 |
6.0.0.7 | 477 | 2/15/2022 |
6.0.0.6 | 483 | 2/14/2022 |
6.0.0.5 | 498 | 1/28/2022 |
6.0.0.4 | 494 | 1/13/2022 |
6.0.0.3 | 486 | 1/12/2022 |
6.0.0.2 | 338 | 12/21/2021 |
6.0.0.1 | 349 | 12/13/2021 |
5.0.3.7 | 439 | 10/16/2021 |
5.0.3.6 | 364 | 10/14/2021 |
5.0.3.5 | 365 | 10/13/2021 |
5.0.3.4 | 404 | 10/8/2021 |
5.0.3.3 | 375 | 9/17/2021 |
5.0.3.2 | 396 | 9/16/2021 |
5.0.3.1 | 360 | 9/15/2021 |
5.0.2.9 | 371 | 9/15/2021 |
5.0.2.8 | 379 | 8/31/2021 |
5.0.2.7 | 395 | 8/28/2021 |
5.0.2.6 | 382 | 8/22/2021 |
5.0.2.5 | 360 | 8/13/2021 |
5.0.2.4 | 366 | 8/13/2021 |
5.0.2.3 | 428 | 7/8/2021 |
5.0.2.2 | 392 | 7/1/2021 |
5.0.2.1 | 420 | 6/16/2021 |
5.0.1.9 | 381 | 5/12/2021 |
5.0.1.8 | 403 | 5/9/2021 |
5.0.1.7 | 442 | 5/7/2021 |
5.0.1.6 | 400 | 4/17/2021 |
5.0.1.5 | 359 | 4/16/2021 |
5.0.1.4 | 378 | 4/15/2021 |
5.0.1.3 | 367 | 4/15/2021 |
5.0.1.2 | 393 | 4/12/2021 |