EaCloud.Redis
8.0.0.3
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 8.0.0.3
NuGet\Install-Package EaCloud.Redis -Version 8.0.0.3
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="8.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EaCloud.Redis --version 8.0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EaCloud.Redis, 8.0.0.3"
#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=8.0.0.3 // Install EaCloud.Redis as a Cake Tool #tool nuget:?package=EaCloud.Redis&version=8.0.0.3
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
- 在
appsettings.json
中 的EaCloud
节点下添加如下配置节点
{
//缓存选项信息
"Redis": {
"Configuration": "localhost", //Redis连接配置(本地)
//"Configuration": "127.0.0.1:6379,password=xxxxx", //Redis连接配置(远程)
"InstanceName": "EaCloudRedis", //Redis实例名称
"Enabled": false //是否启用
},
}
Configuration
本地配置无需密码,只要填写localhost
,如远程配置需密码,参考格式127.0.0.1:6379,password=xxxxx
。InstanceName
建议以:
结尾。- 如果要禁用Redis缓存功能,设置上面的配置
Enabled: false
即可。当启用Redis时,会自动清除已有的IDistributedCache
分布式缓存实现。
集群用法
如果要使用多服务器使用Redis集群,可通过继承基类RedisPackCore
重写,给RedisCacheOptions.ConfigurationOptions
属性赋值即可。
交流
QQ群号:863605868 | 微信号:SeonHu |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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.
-
net8.0
- EaCloud (>= 8.0.0.3)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 8.0.7)
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 | 35 | 11/15/2024 |
8.0.1.8 | 38 | 11/13/2024 |
8.0.1.7 | 93 | 10/9/2024 |
8.0.1.6 | 93 | 9/29/2024 |
8.0.1.5 | 96 | 9/13/2024 |
8.0.1.4 | 117 | 8/10/2024 |
8.0.1.3 | 96 | 8/7/2024 |
8.0.1.2 | 99 | 8/7/2024 |
8.0.1.1 | 92 | 8/7/2024 |
8.0.0.9 | 98 | 8/7/2024 |
8.0.0.8 | 92 | 8/5/2024 |
8.0.0.7 | 90 | 8/2/2024 |
8.0.0.6 | 95 | 8/1/2024 |
8.0.0.5 | 93 | 8/1/2024 |
8.0.0.4 | 80 | 7/31/2024 |
8.0.0.3 | 81 | 7/30/2024 |
8.0.0.2 | 75 | 7/25/2024 |
8.0.0.1 | 74 | 7/24/2024 |
7.0.9.4 | 113 | 7/19/2024 |
7.0.9.3 | 101 | 7/11/2024 |
7.0.9.2 | 92 | 7/6/2024 |
7.0.9.1 | 96 | 7/3/2024 |
7.0.8.9 | 104 | 6/28/2024 |
7.0.8.8 | 111 | 6/26/2024 |
7.0.8.7 | 104 | 6/22/2024 |
7.0.8.6 | 89 | 6/14/2024 |
7.0.8.5 | 106 | 5/31/2024 |
7.0.8.4 | 99 | 5/21/2024 |
7.0.8.3 | 109 | 5/21/2024 |
7.0.8.2 | 86 | 5/20/2024 |
7.0.8.1 | 105 | 5/20/2024 |
7.0.7.9 | 105 | 5/15/2024 |
7.0.7.8 | 76 | 5/10/2024 |
7.0.7.7 | 92 | 5/9/2024 |
7.0.7.6 | 90 | 5/9/2024 |
7.0.7.5 | 102 | 5/7/2024 |
7.0.7.4 | 103 | 4/28/2024 |
7.0.7.3 | 107 | 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 | 92 | 4/11/2024 |
7.0.6.7 | 103 | 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 | 97 | 4/3/2024 |
7.0.6.1 | 105 | 4/3/2024 |
7.0.5.9 | 102 | 3/27/2024 |
7.0.5.8 | 111 | 3/23/2024 |
7.0.5.7 | 113 | 3/17/2024 |
7.0.5.6 | 104 | 3/17/2024 |
7.0.5.5 | 122 | 3/16/2024 |
7.0.5.4 | 104 | 3/13/2024 |
7.0.5.3 | 110 | 3/13/2024 |
7.0.5.2 | 115 | 3/6/2024 |
7.0.5.1 | 114 | 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 | 100 | 1/16/2024 |
7.0.4.1 | 106 | 1/16/2024 |
7.0.3.9 | 108 | 1/15/2024 |
7.0.3.8 | 148 | 1/3/2024 |
7.0.3.7 | 132 | 12/28/2023 |
7.0.3.6 | 125 | 12/27/2023 |
7.0.3.5 | 138 | 12/22/2023 |
7.0.3.4 | 113 | 12/22/2023 |
7.0.3.3 | 142 | 12/13/2023 |
7.0.3.2 | 111 | 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 | 160 | 9/26/2023 |
7.0.2.6 | 142 | 9/25/2023 |
7.0.2.5 | 133 | 9/15/2023 |
7.0.2.4 | 143 | 7/27/2023 |
7.0.2.3 | 169 | 7/22/2023 |
7.0.2.2 | 158 | 7/22/2023 |
7.0.2.1 | 156 | 7/21/2023 |
7.0.1.9 | 169 | 7/21/2023 |
7.0.1.8 | 157 | 7/20/2023 |
7.0.1.7 | 152 | 7/20/2023 |
7.0.1.6 | 193 | 7/4/2023 |
7.0.1.5 | 179 | 6/16/2023 |
7.0.1.4 | 174 | 6/13/2023 |
7.0.1.3 | 187 | 6/8/2023 |
7.0.1.2 | 274 | 6/2/2023 |
7.0.1.1 | 194 | 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 | 208 | 4/18/2023 |
7.0.0.5 | 248 | 3/27/2023 |
7.0.0.4 | 248 | 3/23/2023 |
7.0.0.3 | 319 | 1/31/2023 |
7.0.0.2 | 292 | 1/30/2023 |
7.0.0.1 | 333 | 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 | 458 | 8/13/2022 |
6.0.1.8 | 450 | 6/6/2022 |
6.0.1.7 | 468 | 5/26/2022 |
6.0.1.6 | 490 | 5/11/2022 |
6.0.1.5 | 471 | 5/10/2022 |
6.0.1.4 | 500 | 4/8/2022 |
6.0.1.3 | 500 | 4/2/2022 |
6.0.1.2 | 474 | 4/2/2022 |
6.0.1.1 | 491 | 3/18/2022 |
6.0.0.9 | 509 | 3/5/2022 |
6.0.0.8 | 490 | 2/19/2022 |
6.0.0.7 | 480 | 2/15/2022 |
6.0.0.6 | 487 | 2/14/2022 |
6.0.0.5 | 500 | 1/28/2022 |
6.0.0.4 | 496 | 1/13/2022 |
6.0.0.3 | 490 | 1/12/2022 |
6.0.0.2 | 340 | 12/21/2021 |
6.0.0.1 | 351 | 12/13/2021 |
5.0.3.7 | 441 | 10/16/2021 |
5.0.3.6 | 368 | 10/14/2021 |
5.0.3.5 | 371 | 10/13/2021 |
5.0.3.4 | 406 | 10/8/2021 |
5.0.3.3 | 377 | 9/17/2021 |
5.0.3.2 | 398 | 9/16/2021 |
5.0.3.1 | 362 | 9/15/2021 |
5.0.2.9 | 373 | 9/15/2021 |
5.0.2.8 | 381 | 8/31/2021 |
5.0.2.7 | 397 | 8/28/2021 |
5.0.2.6 | 386 | 8/22/2021 |
5.0.2.5 | 362 | 8/13/2021 |
5.0.2.4 | 369 | 8/13/2021 |
5.0.2.3 | 431 | 7/8/2021 |
5.0.2.2 | 394 | 7/1/2021 |
5.0.2.1 | 424 | 6/16/2021 |
5.0.1.9 | 383 | 5/12/2021 |
5.0.1.8 | 407 | 5/9/2021 |
5.0.1.7 | 444 | 5/7/2021 |
5.0.1.6 | 402 | 4/17/2021 |
5.0.1.5 | 363 | 4/16/2021 |
5.0.1.4 | 383 | 4/15/2021 |
5.0.1.3 | 370 | 4/15/2021 |
5.0.1.2 | 395 | 4/12/2021 |