Microsoft.Extensions.Caching.StackExchangeRedis 10.0.14

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 Redis
  • RedisCacheOptions: Provides options used for configuring a RedisCache

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
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
52
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
50
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
48
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
45
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
44
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
43
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
42
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
41
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
40
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
39
Aspire.StackExchange.Redis.DistributedCaching
A Redis® implementation for IDistributedCache that integrates with Aspire, including health checks, logging, and telemetry.
38

Version Downloads Last updated
11.0.0-rc.3.26522.148 10 10/26/2026
11.0.0-rc.2.26504.105 20 10/13/2026
11.0.0-rc.1.26425.128 25 09/10/2026
11.0.0-preview.7.26381.103 25 08/13/2026
11.0.0-preview.6.26359.118 32 07/15/2026
11.0.0-preview.5.26302.115 31 06/11/2026
11.0.0-preview.4.26230.115 30 05/14/2026
11.0.0-preview.3.26207.106 48 04/14/2026
11.0.0-preview.2.26159.112 49 03/13/2026
11.0.0-preview.1.26104.118 52 02/12/2026
10.0.14 10 10/26/2026
10.0.13 16 10/13/2026
10.0.12 24 09/10/2026
10.0.11 28 08/13/2026
10.0.10 32 07/15/2026
10.0.9 32 06/11/2026
10.0.8 37 05/14/2026
10.0.7 47 04/23/2026
10.0.6 34 04/14/2026
10.0.5 64 03/13/2026
10.0.4 53 03/13/2026
10.0.3 69 02/13/2026
10.0.2 49 01/15/2026
10.0.1 13 09/27/2026
10.0.0 58 12/17/2025
10.0.0-rc.2.25502.107 53 12/17/2025
10.0.0-rc.1.25451.107 61 12/13/2025
10.0.0-preview.7.25380.108 54 12/16/2025
10.0.0-preview.6.25358.103 43 12/11/2025
10.0.0-preview.5.25277.114 39 12/15/2025
10.0.0-preview.4.25258.110 37 12/13/2025
10.0.0-preview.3.25172.1 38 12/13/2025
9.0.22 5 10/26/2026
9.0.21 16 10/13/2026
9.0.20 22 09/10/2026
9.0.19 28 08/13/2026
9.0.18 33 07/15/2026
9.0.17 30 06/11/2026
9.0.16 38 05/14/2026
9.0.15 39 04/14/2026
9.0.14 48 03/13/2026
9.0.13 47 02/13/2026
9.0.12 52 01/15/2026
9.0.11 45 12/14/2025
9.0.10 48 12/17/2025
9.0.9 31 12/13/2025
9.0.8 41 12/16/2025
9.0.7 49 12/13/2025
9.0.6 50 12/14/2025
9.0.5 36 12/21/2025
9.0.4 45 12/18/2025
9.0.2 10 10/08/2026
9.0.1 43 12/20/2025
9.0.0 48 12/20/2025
9.0.0-rc.2.24474.3 34 12/16/2025
9.0.0-rc.1.24452.1 47 12/21/2025
9.0.0-preview.7.24406.2 43 12/27/2025
9.0.0-preview.6.24328.4 58 12/13/2025
9.0.0-preview.5.24306.11 44 12/20/2025
9.0.0-preview.4.24267.6 52 12/27/2025
9.0.0-preview.3.24172.13 54 12/21/2025
9.0.0-preview.2.24128.4 7 09/29/2026
9.0.0-preview.1.24081.5 41 12/12/2025
8.0.33 4 10/26/2026
8.0.32 18 10/13/2026
8.0.31 22 09/10/2026
8.0.30 28 08/13/2026
8.0.29 32 07/15/2026
8.0.28 35 06/11/2026
8.0.27 35 05/14/2026
8.0.26 40 04/14/2026
8.0.25 57 03/13/2026
8.0.24 67 02/13/2026
8.0.23 55 01/15/2026
8.0.22 50 12/14/2025
8.0.21 50 12/17/2025
8.0.20 31 12/13/2025
8.0.19 51 12/16/2025
8.0.18 34 12/13/2025
8.0.17 49 12/13/2025
8.0.16 54 12/20/2025
8.0.15 45 12/13/2025
8.0.14 45 12/16/2025
8.0.13 54 12/20/2025
8.0.12 47 12/11/2025
8.0.11 56 12/20/2025
8.0.10 45 12/20/2025
8.0.8 42 12/11/2025
8.0.7 34 12/20/2025
8.0.6 42 12/31/2025
8.0.5 49 12/31/2025
8.0.4 48 12/25/2025
8.0.3 40 12/13/2025
8.0.2 35 12/31/2025
8.0.1 50 12/20/2025
8.0.0 48 12/11/2025
8.0.0-rc.2.23480.2 45 12/16/2025
8.0.0-rc.1.23421.29 36 12/16/2025
8.0.0-preview.7.23375.9 42 12/21/2025
8.0.0-preview.6.23329.11 29 12/28/2025
8.0.0-preview.5.23302.2 45 01/04/2026
8.0.0-preview.4.23260.4 44 01/01/2026
8.0.0-preview.3.23177.8 30 12/11/2025
8.0.0-preview.2.23153.2 46 12/16/2025
8.0.0-preview.1.23112.2 49 12/18/2025
7.0.20 35 12/14/2025
7.0.19 46 12/20/2025
7.0.18 54 12/20/2025
7.0.17 42 12/20/2025
7.0.16 43 12/11/2025
7.0.15 45 12/13/2025
7.0.14 38 12/13/2025
7.0.13 43 12/20/2025
7.0.12 52 12/20/2025
7.0.11 37 12/20/2025
7.0.10 37 12/11/2025
7.0.9 6 10/08/2026
7.0.8 30 12/20/2025
7.0.7 37 12/29/2025
7.0.5 43 12/28/2025
7.0.4 34 12/14/2025
7.0.3 42 01/08/2026
7.0.2 42 12/20/2025
7.0.1 42 12/30/2025
7.0.0 47 12/12/2025
7.0.0-rc.2.22476.2 36 12/16/2025
7.0.0-rc.1.22427.2 36 12/13/2025
7.0.0-preview.7.22376.6 40 12/24/2025
7.0.0-preview.6.22330.3 38 12/20/2025
7.0.0-preview.5.22303.8 50 12/11/2025
7.0.0-preview.4.22251.1 43 12/20/2025
7.0.0-preview.3.22178.4 47 12/13/2025
7.0.0-preview.2.22153.2 42 12/15/2025
7.0.0-preview.1.22109.13 37 12/10/2025
6.0.36 48 12/15/2025
6.0.35 44 12/20/2025
6.0.33 48 12/20/2025
6.0.32 44 12/20/2025
6.0.31 49 12/20/2025
6.0.30 46 12/20/2025
6.0.29 52 12/20/2025
6.0.28 46 12/20/2025
6.0.27 9 09/27/2026
6.0.26 45 12/11/2025
6.0.25 46 12/20/2025
6.0.24 41 12/20/2025
6.0.23 32 12/20/2025
6.0.22 47 12/20/2025
6.0.21 46 12/13/2025
6.0.20 42 12/20/2025
6.0.19 39 12/20/2025
6.0.18 41 12/20/2025
6.0.16 55 12/20/2025
6.0.15 50 12/20/2025
6.0.14 35 12/20/2025
6.0.13 34 12/13/2025
6.0.12 48 12/20/2025
6.0.11 49 12/20/2025
6.0.10 42 12/20/2025
6.0.9 53 12/20/2025
6.0.8 50 12/20/2025
6.0.7 30 12/20/2025
6.0.6 54 12/20/2025
6.0.5 42 12/31/2025
6.0.4 45 12/24/2025
6.0.3 50 12/13/2025
6.0.2 51 12/20/2025
6.0.1 30 12/20/2025
6.0.0 46 01/03/2026
6.0.0-rc.2.21480.10 44 12/12/2025
6.0.0-rc.1.21452.15 42 12/29/2025
6.0.0-preview.7.21378.6 48 12/21/2025
6.0.0-preview.6.21355.2 44 12/14/2025
6.0.0-preview.5.21301.17 43 12/14/2025
6.0.0-preview.4.21253.5 45 12/28/2025
6.0.0-preview.3.21201.13 33 12/15/2025
6.0.0-preview.2.21154.6 38 12/21/2025
6.0.0-preview.1.21103.6 44 12/14/2025
5.0.1 45 12/20/2025
5.0.0 40 12/20/2025
5.0.0-rc.2.20478.4 29 12/11/2025
5.0.0-rc.1.20451.7 49 12/21/2025
5.0.0-preview.8.20407.3 44 12/16/2025
5.0.0-preview.7.20365.4 13 09/28/2026
5.0.0-preview.6.20306.1 42 12/21/2025
5.0.0-preview.5.20278.3 27 12/16/2025
5.0.0-preview.4.20251.2 46 01/01/2026
5.0.0-preview.3.20215.2 30 12/22/2025
5.0.0-preview.2.20160.3 42 12/11/2025
5.0.0-preview.1.20120.4 48 12/21/2025
3.1.32 8 10/08/2026
3.1.31 46 12/20/2025
3.1.30 16 10/01/2026
3.1.29 44 12/16/2025
3.1.28 44 12/20/2025
3.1.27 41 12/17/2025
3.1.26 57 12/17/2025
3.1.25 43 12/20/2025
3.1.24 6 10/08/2026
3.1.23 54 12/17/2025
3.1.22 47 01/01/2026
3.1.21 41 12/20/2025
3.1.20 45 12/16/2025
3.1.19 45 12/14/2025
3.1.18 46 12/13/2025
3.1.17 40 12/20/2025
3.1.16 45 12/20/2025
3.1.15 51 12/20/2025
3.1.14 38 12/20/2025
3.1.13 47 12/20/2025
3.1.12 52 12/20/2025
3.1.11 11 10/08/2026
3.1.10 31 12/20/2025
3.1.9 39 12/20/2025
3.1.8 56 12/15/2025
3.1.7 36 12/11/2025
3.1.6 48 12/13/2025
3.1.5 44 12/29/2025
3.1.4 30 12/13/2025
3.1.3 45 12/20/2025
3.1.2 31 12/28/2025
3.1.1 40 12/13/2025
3.1.0 47 01/01/2026
3.1.0-preview3.19553.2 34 12/30/2025
3.1.0-preview2.19525.4 31 12/21/2025
3.1.0-preview1.19506.1 45 12/13/2025
3.0.3 42 12/18/2025
3.0.2 56 12/20/2025
3.0.1 34 12/20/2025
3.0.0 51 12/20/2025
3.0.0-rc1.19456.10 40 12/16/2025
3.0.0-preview9.19423.4 49 12/21/2025
3.0.0-preview8.19405.4 40 12/16/2025
3.0.0-preview7.19362.4 34 12/20/2025
3.0.0-preview6.19304.6 39 12/16/2025
3.0.0-preview5.19227.9 32 12/12/2025
3.0.0-preview4.19216.2 37 12/12/2025
3.0.0-preview3.19153.1 42 12/12/2025
3.0.0-preview.19074.2 36 12/16/2025
3.0.0-preview.18572.1 30 12/16/2025
2.2.5 10 10/05/2026
2.2.0 48 12/13/2025
2.2.0-preview3-35497 46 12/21/2025