Microsoft.Extensions.Caching.StackExchangeRedis
10.0.0-preview.5.25277.114
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Extensions.Caching.StackExchangeRedis --version 10.0.0-preview.5.25277.114
NuGet\Install-Package Microsoft.Extensions.Caching.StackExchangeRedis -Version 10.0.0-preview.5.25277.114
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="10.0.0-preview.5.25277.114" />
<PackageVersion Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="10.0.0-preview.5.25277.114" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" />
paket add Microsoft.Extensions.Caching.StackExchangeRedis --version 10.0.0-preview.5.25277.114
#r "nuget: Microsoft.Extensions.Caching.StackExchangeRedis, 10.0.0-preview.5.25277.114"
#:package Microsoft.Extensions.Caching.StackExchangeRedis@10.0.0-preview.5.25277.114
#addin nuget:?package=Microsoft.Extensions.Caching.StackExchangeRedis&version=10.0.0-preview.5.25277.114&prerelease
#tool nuget:?package=Microsoft.Extensions.Caching.StackExchangeRedis&version=10.0.0-preview.5.25277.114&prerelease
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.0-preview.5.25277.114)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-preview.5.25277.114)
- Microsoft.Extensions.Options (>= 10.0.0-preview.5.25277.114)
- StackExchange.Redis (>= 2.7.27)
-
.NETStandard 2.0
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.0-preview.5.25277.114)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-preview.5.25277.114)
- Microsoft.Extensions.Options (>= 10.0.0-preview.5.25277.114)
- StackExchange.Redis (>= 2.7.27)
-
net10.0
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.0-preview.5.25277.114)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-preview.5.25277.114)
- Microsoft.Extensions.Options (>= 10.0.0-preview.5.25277.114)
- StackExchange.Redis (>= 2.7.27)
NuGet packages (745)
Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Caching.StackExchangeRedis:
Package | Downloads |
---|---|
Omnia.Fx.NetCore
Package Description |
|
Reo.Core.DistributedCache.Abstractions
Package Description |
|
Volo.Abp.Caching.StackExchangeRedis
Package Description |
|
Reo.Core.IdentityModel
Package Description |
|
Reo.Core.AutoHistory
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
10.0.0-preview.6.25358.103 | 403 | 7/15/2025 | |
10.0.0-preview.5.25277.114 | 3,093 | 6/6/2025 | |
10.0.0-preview.4.25258.110 | 6,892 | 5/12/2025 | |
10.0.0-preview.3.25172.1 | 7,642 | 4/10/2025 | |
9.0.7 | 106,931 | 7/8/2025 | |
9.0.6 | 563,379 | 6/10/2025 | |
9.0.5 | 744,745 | 5/13/2025 | |
9.0.2 | 2,696,359 | 2/11/2025 | |
9.0.1 | 1,167,458 | 1/14/2025 | |
9.0.0 | 2,858,932 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 95,314 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 17,562 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 12,913 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 16,341 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 20,385 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 9,275 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 10,297 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 16,807 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 7,746 | 2/13/2024 | |
8.0.18 | 30,642 | 7/8/2025 | |
8.0.17 | 119,911 | 6/10/2025 | |
8.0.16 | 223,091 | 5/13/2025 | |
8.0.15 | 517,654 | 4/8/2025 | |
8.0.14 | 434,923 | 3/11/2025 | |
8.0.13 | 523,156 | 2/11/2025 | |
8.0.12 | 795,121 | 1/14/2025 | |
8.0.11 | 2,310,767 | 11/12/2024 | |
8.0.10 | 4,903,070 | 10/8/2024 | |
8.0.8 | 5,433,955 | 8/13/2024 | |
8.0.7 | 3,413,828 | 7/9/2024 | |
8.0.6 | 3,643,097 | 5/28/2024 | |
8.0.5 | 1,278,804 | 5/14/2024 | |
8.0.4 | 3,627,761 | 4/9/2024 | |
8.0.3 | 2,855,737 | 3/12/2024 | |
8.0.2 | 2,832,102 | 2/13/2024 | |
8.0.1 | 2,882,628 | 1/9/2024 | |
8.0.0 | 5,185,636 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 37,654 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 31,798 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 23,811 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 16,509 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 8,417 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 267,343 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 6,045 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 4,117 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 91,593 | 2/21/2023 | |
7.0.20 | 381,638 | 5/28/2024 | |
7.0.19 | 109,982 | 5/14/2024 | |
7.0.18 | 94,249 | 4/9/2024 | |
7.0.17 | 112,937 | 3/12/2024 | |
7.0.16 | 173,796 | 2/13/2024 | |
7.0.15 | 347,067 | 1/9/2024 | |
7.0.14 | 714,420 | 11/14/2023 | |
7.0.13 | 1,101,320 | 10/24/2023 | |
7.0.12 | 657,920 | 10/10/2023 | |
7.0.11 | 1,397,281 | 9/12/2023 | |
7.0.10 | 1,796,394 | 8/8/2023 | |
7.0.9 | 1,316,838 | 7/11/2023 | |
7.0.8 | 1,141,832 | 6/22/2023 | |
7.0.7 | 513,876 | 6/13/2023 | |
7.0.5 | 3,088,600 | 4/11/2023 | |
7.0.4 | 1,624,397 | 3/14/2023 | |
7.0.3 | 1,855,006 | 2/14/2023 | |
7.0.2 | 1,668,609 | 1/10/2023 | |
7.0.1 | 998,563 | 12/13/2022 | |
7.0.0 | 2,679,997 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 13,892 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 22,885 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 13,467 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 24,839 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 20,047 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 22,030 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 11,892 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 24,669 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 8,393 | 2/17/2022 | |
6.0.36 | 250,579 | 11/12/2024 | |
6.0.35 | 113,893 | 10/8/2024 | |
6.0.33 | 175,012 | 8/13/2024 | |
6.0.32 | 147,037 | 7/9/2024 | |
6.0.31 | 255,691 | 5/28/2024 | |
6.0.30 | 257,794 | 5/14/2024 | |
6.0.29 | 400,372 | 4/9/2024 | |
6.0.28 | 293,698 | 3/12/2024 | |
6.0.27 | 505,433 | 2/13/2024 | |
6.0.26 | 379,696 | 1/9/2024 | |
6.0.25 | 1,097,379 | 11/14/2023 | |
6.0.24 | 305,719 | 10/24/2023 | |
6.0.23 | 268,134 | 10/10/2023 | |
6.0.22 | 465,387 | 9/12/2023 | |
6.0.21 | 836,022 | 8/8/2023 | |
6.0.20 | 803,833 | 7/11/2023 | |
6.0.19 | 304,067 | 6/22/2023 | |
6.0.18 | 410,014 | 6/13/2023 | |
6.0.16 | 1,527,823 | 4/11/2023 | |
6.0.15 | 885,281 | 3/14/2023 | |
6.0.14 | 1,014,145 | 2/14/2023 | |
6.0.13 | 1,243,567 | 1/10/2023 | |
6.0.12 | 969,261 | 12/13/2022 | |
6.0.11 | 1,799,369 | 11/7/2022 | |
6.0.10 | 3,201,488 | 10/11/2022 | |
6.0.9 | 2,502,812 | 9/13/2022 | |
6.0.8 | 3,363,290 | 8/9/2022 | |
6.0.7 | 2,810,684 | 7/12/2022 | |
6.0.6 | 2,516,893 | 6/14/2022 | |
6.0.5 | 3,396,873 | 5/10/2022 | |
6.0.4 | 1,982,514 | 4/11/2022 | |
6.0.3 | 3,017,395 | 3/8/2022 | |
6.0.2 | 2,255,315 | 2/8/2022 | |
6.0.1 | 4,594,737 | 12/14/2021 | |
6.0.0 | 3,340,594 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 29,791 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 12,788 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 11,071 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 6,754 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 28,041 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 5,894 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 4,553 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 3,197 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 11,532 | 2/12/2021 | |
5.0.1 | 14,244,954 | 12/8/2020 | |
5.0.0 | 1,632,285 | 11/9/2020 | |
5.0.0-rc.2.20478.4 | 11,582 | 10/13/2020 | |
5.0.0-rc.1.20451.7 | 14,244 | 9/14/2020 | |
5.0.0-preview.8.20407.3 | 2,839 | 8/25/2020 | |
5.0.0-preview.7.20365.4 | 4,623 | 7/21/2020 | |
5.0.0-preview.6.20306.1 | 3,148 | 6/25/2020 | |
5.0.0-preview.5.20278.3 | 1,483 | 6/10/2020 | |
5.0.0-preview.4.20251.2 | 7,617 | 5/18/2020 | |
5.0.0-preview.3.20215.2 | 2,594 | 4/23/2020 | |
5.0.0-preview.2.20160.3 | 987 | 4/2/2020 | |
5.0.0-preview.1.20120.4 | 4,454 | 3/16/2020 | |
3.1.32 | 674,520 | 12/13/2022 | |
3.1.31 | 241,730 | 11/8/2022 | |
3.1.30 | 44,220 | 10/11/2022 | |
3.1.29 | 29,399 | 9/13/2022 | |
3.1.28 | 86,705 | 8/9/2022 | |
3.1.27 | 70,096 | 7/12/2022 | |
3.1.26 | 68,131 | 6/14/2022 | |
3.1.25 | 139,345 | 5/10/2022 | |
3.1.24 | 115,508 | 4/11/2022 | |
3.1.23 | 126,574 | 3/8/2022 | |
3.1.22 | 1,033,991 | 12/14/2021 | |
3.1.21 | 356,650 | 11/7/2021 | |
3.1.20 | 411,260 | 10/11/2021 | |
3.1.19 | 185,793 | 9/14/2021 | |
3.1.18 | 554,308 | 8/10/2021 | |
3.1.17 | 492,865 | 7/13/2021 | |
3.1.16 | 294,237 | 6/8/2021 | |
3.1.15 | 277,526 | 5/11/2021 | |
3.1.14 | 528,775 | 4/6/2021 | |
3.1.13 | 408,259 | 3/9/2021 | |
3.1.12 | 455,696 | 2/9/2021 | |
3.1.11 | 357,910 | 1/12/2021 | |
3.1.10 | 1,096,524 | 11/9/2020 | |
3.1.9 | 1,320,696 | 10/13/2020 | |
3.1.8 | 1,610,441 | 9/8/2020 | |
3.1.7 | 1,400,633 | 8/11/2020 | |
3.1.6 | 913,213 | 7/14/2020 | |
3.1.5 | 1,567,375 | 6/9/2020 | |
3.1.4 | 2,103,971 | 5/12/2020 | |
3.1.3 | 1,936,224 | 3/24/2020 | |
3.1.2 | 995,489 | 2/18/2020 | |
3.1.1 | 973,671 | 1/14/2020 | |
3.1.0 | 1,153,449 | 12/3/2019 | |
3.1.0-preview3.19553.2 | 939 | 11/13/2019 | |
3.1.0-preview2.19525.4 | 731 | 11/1/2019 | |
3.1.0-preview1.19506.1 | 2,639 | 10/15/2019 | |
3.0.3 | 16,380 | 2/18/2020 | |
3.0.2 | 5,213 | 1/14/2020 | |
3.0.1 | 105,974 | 11/18/2019 | |
3.0.0 | 479,527 | 9/23/2019 | |
3.0.0-rc1.19456.10 | 1,282 | 9/16/2019 | |
3.0.0-preview9.19423.4 | 2,810 | 9/4/2019 | |
3.0.0-preview8.19405.4 | 3,911 | 8/13/2019 | |
3.0.0-preview7.19362.4 | 3,188 | 7/23/2019 | |
3.0.0-preview6.19304.6 | 2,322 | 6/12/2019 | |
3.0.0-preview5.19227.9 | 2,345 | 5/6/2019 | |
3.0.0-preview4.19216.2 | 737 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 886 | 3/6/2019 | |
3.0.0-preview.19074.2 | 778 | 1/29/2019 | |
3.0.0-preview.18572.1 | 1,063 | 12/4/2018 | |
2.2.5 | 2,229,461 | 5/14/2019 | |
2.2.0 | 2,175,544 | 12/3/2018 | |
2.2.0-preview3-35497 | 6,162 | 10/17/2018 |