Microsoft.Extensions.Caching.StackExchangeRedis 10.0.0-rc.2.25502.107
About
Microsoft.Extensions.Caching.StackExchangeRedis provides a distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
How to Use
To use Microsoft.Extensions.Caching.StackExchangeRedis, follow these steps:
Installation
dotnet add package Microsoft.Extensions.Caching.StackExchangeRedis
Configuration
To configure the Redis cache in your app, use the AddStackExchangeRedisCache extension method. Here's an example:
var builder = WebApplication.CreateBuilder();
builder.Services.AddStackExchangeRedisCache(options =>
{
options.Configuration = builder.Configuration.GetConnectionString("MyRedisConStr");
options.InstanceName = "MyCache";
});
Main Types
RedisCache: Provides a distributed cache implementation using RedisRedisCacheOptions: Provides options used for configuring aRedisCache
Additional Documentation
For additional documentation and examples, refer to the official documentation on using the Distributed Redis Cache in ASP.NET Core.
Feedback & Contributing
Microsoft.Extensions.Caching.StackExchangeRedis is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Showing the top 20 packages that depend on Microsoft.Extensions.Caching.StackExchangeRedis.
| Packages | Downloads |
|---|---|
|
Quantum.Framework.WebApp
Package Description
|
77 |
|
Quantum.Framework.WebApp
Package Description
|
80 |
|
Quantum.Framework.WebApp
Package Description
|
82 |
|
Quantum.Framework.WebApp
Package Description
|
91 |
|
Quantum.Framework.WebApp
Package Description
|
114 |
|
Quantum.Framework.WebApp
Package Description
|
132 |
|
Quantum.Framework.WebApp
Package Description
|
160 |
|
Quantum.Framework.WebApp
Package Description
|
174 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
80 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
84 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
86 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
94 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
95 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
104 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
107 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
176 |
|
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
|
195 |
.NET Framework 4.6.2
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Options (>= 10.0.0-rc.2.25502.107)
- StackExchange.Redis (>= 2.7.27)
.NET 10.0
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Options (>= 10.0.0-rc.2.25502.107)
- StackExchange.Redis (>= 2.7.27)
.NET Standard 2.0
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Options (>= 10.0.0-rc.2.25502.107)
- StackExchange.Redis (>= 2.7.27)
| Version | Downloads | Last updated |
|---|---|---|
| 10.0.0-rc.2.25502.107 | 2 | 10/21/2025 |
| 10.0.0-rc.1.25451.107 | 5 | 09/15/2025 |
| 10.0.0-preview.7.25380.108 | 5 | 08/14/2025 |
| 10.0.0-preview.6.25358.103 | 9 | 07/18/2025 |
| 10.0.0-preview.5.25277.114 | 7 | 06/08/2025 |
| 10.0.0-preview.4.25258.110 | 13 | 05/15/2025 |
| 10.0.0-preview.3.25172.1 | 15 | 04/13/2025 |
| 10.0.0-preview.1.25120.3 | 18 | 03/16/2025 |
| 9.0.10 | 2 | 10/18/2025 |
| 9.0.9 | 6 | 09/11/2025 |
| 9.0.8 | 6 | 08/07/2025 |
| 9.0.7 | 8 | 07/12/2025 |
| 9.0.6 | 8 | 06/14/2025 |
| 9.0.5 | 12 | 05/16/2025 |
| 9.0.4 | 17 | 04/12/2025 |
| 9.0.3 | 12 | 05/31/2025 |
| 9.0.2 | 18 | 03/06/2025 |
| 9.0.1 | 19 | 01/16/2025 |
| 9.0.0 | 21 | 11/20/2024 |
| 9.0.0-rc.2.24474.3 | 25 | 11/10/2024 |
| 9.0.0-rc.1.24452.1 | 21 | 11/12/2024 |
| 9.0.0-preview.7.24406.2 | 19 | 11/12/2024 |
| 9.0.0-preview.6.24328.4 | 24 | 11/27/2024 |
| 9.0.0-preview.5.24306.11 | 20 | 12/11/2024 |
| 9.0.0-preview.4.24267.6 | 22 | 06/03/2024 |
| 9.0.0-preview.3.24172.13 | 18 | 06/03/2024 |
| 9.0.0-preview.2.24128.4 | 32 | 05/03/2024 |
| 9.0.0-preview.1.24081.5 | 22 | 05/25/2024 |
| 8.0.21 | 2 | 10/18/2025 |
| 8.0.20 | 4 | 09/11/2025 |
| 8.0.19 | 6 | 08/07/2025 |
| 8.0.18 | 6 | 07/27/2025 |
| 8.0.17 | 10 | 06/13/2025 |
| 8.0.16 | 14 | 05/16/2025 |
| 8.0.15 | 13 | 04/12/2025 |
| 8.0.14 | 18 | 03/16/2025 |
| 8.0.13 | 18 | 02/22/2025 |
| 8.0.12 | 19 | 01/16/2025 |
| 8.0.11 | 21 | 11/24/2024 |
| 8.0.10 | 21 | 11/10/2024 |
| 8.0.8 | 23 | 11/10/2024 |
| 8.0.7 | 23 | 12/11/2024 |
| 8.0.6 | 18 | 11/16/2024 |
| 8.0.5 | 285 | 05/24/2024 |
| 8.0.4 | 28 | 05/01/2024 |
| 8.0.3 | 26 | 05/26/2024 |
| 8.0.2 | 21 | 05/22/2024 |
| 8.0.1 | 27 | 01/18/2024 |
| 8.0.0 | 148 | 04/17/2024 |
| 8.0.0-rc.2.23480.2 | 22 | 05/21/2024 |
| 8.0.0-rc.1.23421.29 | 27 | 06/03/2024 |
| 8.0.0-preview.7.23375.9 | 23 | 06/01/2024 |
| 8.0.0-preview.6.23329.11 | 21 | 01/18/2024 |
| 8.0.0-preview.5.23302.2 | 21 | 06/03/2024 |
| 8.0.0-preview.4.23260.4 | 31 | 05/17/2024 |
| 8.0.0-preview.3.23177.8 | 27 | 05/05/2024 |
| 8.0.0-preview.2.23153.2 | 23 | 05/06/2024 |
| 8.0.0-preview.1.23112.2 | 22 | 05/02/2024 |
| 7.0.20 | 15 | 01/05/2025 |
| 7.0.19 | 22 | 06/03/2024 |
| 7.0.18 | 20 | 06/03/2024 |
| 7.0.17 | 22 | 05/13/2024 |
| 7.0.16 | 21 | 05/18/2024 |
| 7.0.15 | 22 | 06/03/2024 |
| 7.0.14 | 23 | 05/09/2024 |
| 7.0.13 | 21 | 01/18/2024 |
| 7.0.12 | 38 | 01/18/2024 |
| 7.0.11 | 24 | 01/18/2024 |
| 7.0.10 | 28 | 01/18/2024 |
| 7.0.9 | 28 | 05/23/2024 |
| 7.0.8 | 24 | 05/18/2024 |
| 7.0.7 | 25 | 06/03/2024 |
| 7.0.5 | 28 | 04/10/2024 |
| 7.0.4 | 25 | 05/01/2024 |
| 7.0.3 | 25 | 05/16/2024 |
| 7.0.2 | 22 | 05/25/2024 |
| 7.0.1 | 25 | 06/03/2024 |
| 7.0.0 | 28 | 06/03/2024 |
| 7.0.0-rc.2.22476.2 | 20 | 05/05/2024 |
| 7.0.0-rc.1.22427.2 | 23 | 06/03/2024 |
| 7.0.0-preview.7.22376.6 | 22 | 05/15/2024 |
| 7.0.0-preview.6.22330.3 | 23 | 06/03/2024 |
| 7.0.0-preview.5.22303.8 | 20 | 06/03/2024 |
| 7.0.0-preview.4.22251.1 | 21 | 06/03/2024 |
| 7.0.0-preview.3.22178.4 | 18 | 05/17/2024 |
| 7.0.0-preview.2.22153.2 | 21 | 01/18/2024 |
| 7.0.0-preview.1.22109.13 | 23 | 05/14/2024 |
| 6.0.36 | 21 | 11/24/2024 |
| 6.0.35 | 18 | 11/26/2024 |
| 6.0.33 | 22 | 11/27/2024 |
| 6.0.32 | 23 | 12/12/2024 |
| 6.0.31 | 28 | 11/12/2024 |
| 6.0.30 | 19 | 06/03/2024 |
| 6.0.29 | 27 | 05/19/2024 |
| 6.0.28 | 24 | 05/15/2024 |
| 6.0.27 | 28 | 06/03/2024 |
| 6.0.26 | 25 | 05/02/2024 |
| 6.0.25 | 23 | 05/28/2024 |
| 6.0.24 | 25 | 05/21/2024 |
| 6.0.23 | 28 | 05/21/2024 |
| 6.0.22 | 22 | 01/18/2024 |
| 6.0.21 | 25 | 05/05/2024 |
| 6.0.20 | 20 | 05/09/2024 |
| 6.0.19 | 25 | 01/18/2024 |
| 6.0.18 | 25 | 05/05/2024 |
| 6.0.16 | 24 | 06/03/2024 |
| 6.0.15 | 25 | 06/03/2024 |
| 6.0.14 | 21 | 05/21/2024 |
| 6.0.13 | 23 | 06/03/2024 |
| 6.0.12 | 24 | 01/18/2024 |
| 6.0.11 | 25 | 01/18/2024 |
| 6.0.10 | 27 | 05/05/2024 |
| 6.0.9 | 23 | 05/22/2024 |
| 6.0.8 | 26 | 01/18/2024 |
| 6.0.7 | 21 | 05/23/2024 |
| 6.0.6 | 30 | 01/18/2024 |
| 6.0.5 | 24 | 04/28/2024 |
| 6.0.4 | 22 | 05/20/2024 |
| 6.0.3 | 23 | 10/28/2022 |
| 6.0.2 | 21 | 06/03/2024 |
| 6.0.1 | 29 | 06/03/2024 |
| 6.0.0 | 25 | 05/02/2024 |
| 6.0.0-rc.2.21480.10 | 25 | 06/03/2024 |
| 6.0.0-rc.1.21452.15 | 25 | 06/03/2024 |
| 6.0.0-preview.7.21378.6 | 18 | 06/03/2024 |
| 6.0.0-preview.6.21355.2 | 25 | 05/30/2024 |
| 6.0.0-preview.5.21301.17 | 23 | 05/29/2024 |
| 6.0.0-preview.4.21253.5 | 20 | 06/03/2024 |
| 6.0.0-preview.3.21201.13 | 27 | 05/01/2024 |
| 6.0.0-preview.2.21154.6 | 26 | 05/23/2024 |
| 6.0.0-preview.1.21103.6 | 21 | 06/03/2024 |
| 5.0.1 | 35 | 09/13/2022 |
| 5.0.0 | 23 | 05/19/2024 |
| 5.0.0-rc.2.20478.4 | 22 | 06/03/2024 |
| 5.0.0-rc.1.20451.7 | 26 | 05/12/2024 |
| 5.0.0-preview.8.20407.3 | 21 | 06/03/2024 |
| 5.0.0-preview.7.20365.4 | 26 | 05/07/2024 |
| 5.0.0-preview.6.20306.1 | 23 | 05/10/2024 |
| 5.0.0-preview.5.20278.3 | 21 | 06/03/2024 |
| 5.0.0-preview.4.20251.2 | 20 | 06/03/2024 |
| 5.0.0-preview.3.20215.2 | 19 | 06/03/2024 |
| 5.0.0-preview.2.20160.3 | 22 | 06/03/2024 |
| 5.0.0-preview.1.20120.4 | 20 | 05/05/2024 |
| 3.1.32 | 9,263 | 05/11/2023 |
| 3.1.31 | 26 | 06/03/2024 |
| 3.1.30 | 1,473 | 04/19/2023 |
| 3.1.29 | 34 | 01/18/2024 |
| 3.1.28 | 23 | 06/03/2024 |
| 3.1.27 | 26 | 05/20/2024 |
| 3.1.26 | 19 | 12/11/2024 |
| 3.1.25 | 22 | 05/25/2024 |
| 3.1.24 | 26 | 01/18/2024 |
| 3.1.23 | 24 | 06/03/2024 |
| 3.1.22 | 24 | 06/03/2024 |
| 3.1.21 | 21 | 05/05/2024 |
| 3.1.20 | 19 | 06/03/2024 |
| 3.1.19 | 28 | 05/19/2024 |
| 3.1.18 | 23 | 06/03/2024 |
| 3.1.17 | 25 | 05/09/2024 |
| 3.1.16 | 20 | 05/06/2024 |
| 3.1.15 | 25 | 05/20/2024 |
| 3.1.14 | 27 | 01/18/2024 |
| 3.1.13 | 22 | 05/23/2024 |
| 3.1.12 | 21 | 06/03/2024 |
| 3.1.11 | 24 | 05/20/2024 |
| 3.1.10 | 20 | 01/18/2024 |
| 3.1.9 | 19 | 05/04/2024 |
| 3.1.8 | 23 | 05/18/2024 |
| 3.1.7 | 30 | 05/23/2024 |
| 3.1.6 | 21 | 05/15/2024 |
| 3.1.5 | 21 | 05/20/2024 |
| 3.1.4 | 22 | 06/03/2024 |
| 3.1.3 | 25 | 05/17/2024 |
| 3.1.2 | 24 | 01/18/2024 |
| 3.1.1 | 24 | 05/17/2024 |
| 3.1.0 | 21 | 01/18/2024 |
| 3.1.0-preview3.19553.2 | 23 | 01/18/2024 |
| 3.1.0-preview2.19525.4 | 22 | 01/18/2024 |
| 3.1.0-preview1.19506.1 | 24 | 06/03/2024 |
| 3.0.3 | 24 | 01/18/2024 |
| 3.0.2 | 24 | 06/03/2024 |
| 3.0.1 | 20 | 05/21/2024 |
| 3.0.0 | 25 | 05/07/2024 |
| 3.0.0-rc1.19456.10 | 25 | 01/18/2024 |
| 3.0.0-preview9.19423.4 | 22 | 05/18/2024 |
| 3.0.0-preview8.19405.4 | 34 | 05/23/2024 |
| 3.0.0-preview7.19362.4 | 22 | 06/03/2024 |
| 3.0.0-preview6.19304.6 | 19 | 06/03/2024 |
| 3.0.0-preview5.19227.9 | 21 | 06/03/2024 |
| 3.0.0-preview4.19216.2 | 28 | 01/18/2024 |
| 3.0.0-preview3.19153.1 | 22 | 06/03/2024 |
| 3.0.0-preview.19074.2 | 22 | 06/03/2024 |
| 3.0.0-preview.18572.1 | 23 | 05/02/2024 |
| 2.2.5 | 23 | 05/19/2024 |
| 2.2.0 | 31 | 06/03/2024 |
| 2.2.0-preview3-35497 | 17 | 12/10/2024 |