Microsoft.Extensions.Caching.StackExchangeRedis 10.0.13

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.

No packages depend on Microsoft.Extensions.Caching.StackExchangeRedis.

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