Microsoft.Extensions.Caching.StackExchangeRedis 11.0.0-preview.2.26159.112

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
SummerBoot
将SpringBoot的先进理念与C#的简洁优雅合二为一,声明式编程,专注于”做什么”而不是”如何去做”,在更高层面写代码。SummerBoot,致力于打造一个易上手,好维护的人性化框架,让大家早点下班去做自己喜欢的事。Combining the advanced concepts of SpringBoot with the simplicity and elegance of C#, declarative programming focuses on "what to do" rather than "how to do it", and writes code at a higher level. SummerBoot is committed to creating an easy-to-use and easy-to-maintain humanized framework, so that everyone can get off work early to do what they like.
10
SummerBoot
将SpringBoot的先进理念与C#的简洁优雅合二为一,声明式编程,专注于”做什么”而不是”如何去做”,在更高层面写代码。SummerBoot,致力于打造一个易上手,好维护的人性化框架,让大家早点下班去做自己喜欢的事。Combining the advanced concepts of SpringBoot with the simplicity and elegance of C#, declarative programming focuses on "what to do" rather than "how to do it", and writes code at a higher level. SummerBoot is committed to creating an easy-to-use and easy-to-maintain humanized framework, so that everyone can get off work early to do what they like.
9
SummerBoot
将SpringBoot的先进理念与C#的简洁优雅合二为一,声明式编程,专注于”做什么”而不是”如何去做”。在更高层面写代码,更关心的是目标,而不是底层算法实现的过程,SummerBoot,致力于打造一个人性化框架,让.net开发变得更简单优雅。
9
SummerBoot
将SpringBoot的先进理念与C#的简洁优雅合二为一,声明式编程,专注于”做什么”而不是”如何去做”,在更高层面写代码。SummerBoot,致力于打造一个易上手,好维护的人性化框架,让大家早点下班去做自己喜欢的事。Combining the advanced concepts of SpringBoot with the simplicity and elegance of C#, declarative programming focuses on "what to do" rather than "how to do it", and writes code at a higher level. SummerBoot is committed to creating an easy-to-use and easy-to-maintain humanized framework, so that everyone can get off work early to do what they like.
8
SummerBoot
将SpringBoot的先进理念与C#的简洁优雅合二为一,声明式编程,专注于”做什么”而不是”如何去做”,在更高层面写代码。SummerBoot,致力于打造一个易上手,好维护的人性化框架,让大家早点下班去做自己喜欢的事。Combining the advanced concepts of SpringBoot with the simplicity and elegance of C#, declarative programming focuses on "what to do" rather than "how to do it", and writes code at a higher level. SummerBoot is committed to creating an easy-to-use and easy-to-maintain humanized framework, so that everyone can get off work early to do what they like.
7

.NET Framework 4.6.2

.NET Standard 2.0

.NET 11.0

.NET 10.0

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