Microsoft.AspNetCore.DataProtection.StackExchangeRedis 11.0.0-rc.3.26522.148

About

Microsoft.AspNetCore.DataProtection.StackExchangeRedis allows storing data protection keys in a Redis cache.

Warning

Only Redis versions supporting Redis Data Persistence should be used to store keys. Azure Blob storage is persistent and can be used to store keys. For more information, see this GitHub issue.

How to Use

To use Microsoft.AspNetCore.DataProtection.StackExchangeRedis, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.DataProtection.StackExchangeRedis

Configuration

To configure data protection key storage on Redis, call one of the PersistKeysToStackExchangeRedis overloads:

var redis = ConnectionMultiplexer.Connect("<URI>");
builder.Services.AddDataProtection()
    .PersistKeysToStackExchangeRedis(redis, "DataProtection-Keys");

Additional Documentation

For additional documentation and examples, refer to the official documentation on the Redis key storage provider.

Feedback & Contributing

Microsoft.AspNetCore.DataProtection.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.AspNetCore.DataProtection.StackExchangeRedis.

.NET 11.0

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
11.0.0-rc.3.26522.148 5 10/25/2026
11.0.0-rc.2.26504.105 11 10/14/2026
11.0.0-rc.1.26425.128 24 09/10/2026
11.0.0-preview.7.26381.103 25 08/12/2026
11.0.0-preview.6.26359.118 24 07/25/2026
11.0.0-preview.5.26302.115 27 06/11/2026
11.0.0-preview.4.26230.115 37 05/14/2026
11.0.0-preview.3.26207.106 35 04/16/2026
11.0.0-preview.2.26159.112 46 03/14/2026
11.0.0-preview.1.26104.118 31 02/12/2026
10.0.14 4 10/25/2026
10.0.13 11 10/14/2026
10.0.12 15 09/10/2026
10.0.11 23 08/12/2026
10.0.10 26 07/19/2026
10.0.9 23 06/11/2026
10.0.8 41 05/14/2026
10.0.7 28 04/23/2026
10.0.6 32 04/16/2026
10.0.5 30 03/14/2026
10.0.4 32 03/14/2026
10.0.3 38 02/12/2026
10.0.2 38 01/14/2026
10.0.1 3 09/30/2026
10.0.0 37 12/21/2025
10.0.0-rc.2.25502.107 33 12/21/2025
10.0.0-rc.1.25451.107 45 01/04/2026
10.0.0-preview.7.25380.108 33 12/13/2025
10.0.0-preview.6.25358.103 49 12/12/2025
10.0.0-preview.5.25277.114 41 12/21/2025
10.0.0-preview.4.25258.110 28 12/16/2025
10.0.0-preview.3.25172.1 46 12/13/2025
10.0.0-preview.2.25164.1 43 12/21/2025
10.0.0-preview.1.25120.3 48 12/21/2025
9.0.22 4 10/25/2026
9.0.21 9 10/14/2026
9.0.20 20 09/10/2026
9.0.19 23 08/12/2026
9.0.18 21 07/25/2026
9.0.17 27 06/11/2026
9.0.16 40 05/14/2026
9.0.15 33 04/16/2026
9.0.14 41 03/14/2026
9.0.13 39 02/12/2026
9.0.12 47 01/15/2026
9.0.11 45 12/21/2025
9.0.10 38 12/15/2025
9.0.9 50 12/21/2025
9.0.8 39 12/11/2025
9.0.7 45 12/20/2025
9.0.6 32 12/21/2025
9.0.5 39 12/11/2025
9.0.4 52 12/21/2025
9.0.3 51 12/21/2025
9.0.2 42 12/21/2025
9.0.1 31 12/11/2025
9.0.0 34 12/13/2025
9.0.0-rc.2.24474.3 28 12/21/2025
9.0.0-rc.1.24452.1 47 12/13/2025
9.0.0-preview.7.24406.2 51 12/13/2025
9.0.0-preview.6.24328.4 35 12/13/2025
9.0.0-preview.5.24306.11 44 12/21/2025
9.0.0-preview.4.24267.6 3 10/12/2026
9.0.0-preview.3.24172.13 29 12/15/2025
9.0.0-preview.2.24128.4 38 01/04/2026
9.0.0-preview.1.24081.5 38 12/12/2025
8.0.33 7 10/25/2026
8.0.32 10 10/14/2026
8.0.31 19 09/10/2026
8.0.30 24 08/12/2026
8.0.29 27 07/19/2026
8.0.28 21 06/11/2026
8.0.27 38 05/14/2026
8.0.26 29 04/16/2026
8.0.25 44 03/14/2026
8.0.24 31 02/12/2026
8.0.23 36 01/15/2026
8.0.22 42 12/21/2025
8.0.21 47 12/20/2025
8.0.20 40 12/18/2025
8.0.19 44 12/20/2025
8.0.18 37 12/18/2025
8.0.17 36 12/18/2025
8.0.16 53 12/12/2025
8.0.15 33 12/18/2025
8.0.14 47 12/20/2025
8.0.13 53 12/21/2025
8.0.12 50 12/17/2025
8.0.11 44 12/21/2025
8.0.10 50 12/11/2025
8.0.8 34 12/21/2025
8.0.7 47 12/21/2025
8.0.6 54 12/13/2025
8.0.5 40 12/11/2025
8.0.4 36 12/21/2025
8.0.3 41 12/13/2025
8.0.2 47 12/21/2025
8.0.1 32 12/15/2025
8.0.0 48 12/21/2025
8.0.0-rc.2.23480.2 35 12/15/2025
8.0.0-rc.1.23421.29 47 12/13/2025
8.0.0-preview.7.23375.9 47 12/21/2025
8.0.0-preview.6.23329.11 36 12/21/2025
8.0.0-preview.5.23302.2 48 12/13/2025
8.0.0-preview.4.23260.4 38 12/16/2025
8.0.0-preview.3.23177.8 25 12/21/2025
8.0.0-preview.2.23153.2 44 12/18/2025
8.0.0-preview.1.23112.2 47 12/21/2025
7.0.20 34 12/21/2025
7.0.19 34 12/20/2025
7.0.18 48 12/20/2025
7.0.17 30 12/21/2025
7.0.16 41 12/13/2025
7.0.15 57 12/21/2025
7.0.14 41 12/21/2025
7.0.13 44 12/13/2025
7.0.12 43 12/13/2025
7.0.11 37 12/21/2025
7.0.10 48 12/21/2025
7.0.9 40 12/13/2025
7.0.8 42 12/21/2025
7.0.7 53 12/13/2025
7.0.5 50 12/21/2025
7.0.4 55 12/17/2025
7.0.3 41 12/13/2025
7.0.2 49 12/21/2025
7.0.1 41 12/21/2025
7.0.0 34 12/21/2025
7.0.0-rc.2.22476.2 39 12/13/2025
7.0.0-rc.1.22427.2 43 12/13/2025
7.0.0-preview.7.22376.6 34 12/16/2025
7.0.0-preview.6.22330.3 32 12/13/2025
7.0.0-preview.5.22303.8 51 12/13/2025
7.0.0-preview.4.22251.1 42 12/13/2025
7.0.0-preview.3.22178.4 38 12/21/2025
7.0.0-preview.2.22153.2 37 12/13/2025
7.0.0-preview.1.22109.13 30 12/21/2025
6.0.36 29 12/13/2025
6.0.35 43 12/21/2025
6.0.33 36 12/21/2025
6.0.32 46 12/17/2025
6.0.31 37 12/21/2025
6.0.30 46 12/21/2025
6.0.29 34 12/20/2025
6.0.28 36 12/21/2025
6.0.27 52 12/21/2025
6.0.26 37 12/15/2025
6.0.25 49 12/21/2025
6.0.24 43 12/13/2025
6.0.23 29 12/13/2025
6.0.22 43 12/21/2025
6.0.21 46 12/15/2025
6.0.20 40 12/21/2025
6.0.19 37 12/20/2025
6.0.18 37 12/13/2025
6.0.16 35 12/13/2025
6.0.15 40 12/13/2025
6.0.14 41 12/21/2025
6.0.13 55 12/13/2025
6.0.12 54 12/21/2025
6.0.11 54 12/21/2025
6.0.10 38 12/21/2025
6.0.9 45 12/16/2025
6.0.8 35 12/13/2025
6.0.7 55 12/13/2025
6.0.6 48 12/16/2025
6.0.5 45 12/21/2025
6.0.4 43 12/13/2025
6.0.3 44 12/13/2025
6.0.2 47 12/21/2025
6.0.1 35 12/21/2025
6.0.0 49 12/13/2025
6.0.0-rc.2.21480.10 34 12/21/2025
6.0.0-rc.1.21452.15 32 12/13/2025
6.0.0-preview.7.21378.6 32 12/16/2025
6.0.0-preview.6.21355.2 37 12/21/2025
6.0.0-preview.5.21301.17 36 01/03/2026
6.0.0-preview.4.21253.5 40 12/21/2025
6.0.0-preview.3.21201.13 40 12/21/2025
6.0.0-preview.2.21154.6 28 12/13/2025
6.0.0-preview.1.21103.6 49 12/17/2025
5.0.17 35 12/21/2025
5.0.16 44 12/21/2025
5.0.15 36 12/21/2025
5.0.14 45 12/13/2025
5.0.13 33 12/21/2025
5.0.12 45 12/21/2025
5.0.11 36 12/21/2025
5.0.10 51 12/15/2025
5.0.9 54 12/13/2025
5.0.8 36 12/13/2025
5.0.7 33 12/21/2025
5.0.6 52 12/21/2025
5.0.5 30 12/13/2025
5.0.4 45 12/13/2025
5.0.3 48 12/13/2025
5.0.2 43 12/21/2025
5.0.1 49 12/21/2025
5.0.0 48 12/16/2025
5.0.0-rc.2.20475.17 44 12/12/2025
5.0.0-rc.1.20451.17 31 12/14/2025
5.0.0-preview.8.20414.8 44 12/21/2025
5.0.0-preview.7.20365.19 43 12/12/2025
5.0.0-preview.6.20312.15 39 12/16/2025
5.0.0-preview.5.20279.2 44 12/15/2025
5.0.0-preview.4.20257.10 30 12/13/2025
5.0.0-preview.3.20215.14 30 12/15/2025
5.0.0-preview.2.20167.3 30 12/13/2025
5.0.0-preview.1.20124.5 27 12/21/2025
3.1.32 37 12/21/2025
3.1.31 55 12/20/2025
3.1.30 6 09/28/2026
3.1.29 38 12/13/2025
3.1.28 29 12/13/2025
3.1.27 34 12/21/2025
3.1.26 35 12/21/2025
3.1.25 48 12/16/2025
3.1.24 38 12/21/2025
3.1.23 46 12/21/2025
3.1.22 43 12/21/2025
3.1.21 34 12/21/2025
3.1.20 27 12/21/2025
3.1.19 33 12/21/2025
3.1.18 44 12/13/2025
3.1.17 42 12/21/2025
3.1.16 48 12/21/2025
3.1.15 37 12/19/2025
3.1.14 50 12/21/2025
3.1.13 47 12/20/2025
3.1.12 49 12/13/2025
3.1.11 53 12/20/2025
3.1.10 40 12/21/2025
3.1.9 45 12/13/2025
3.1.8 33 01/04/2026
3.1.7 44 12/13/2025
3.1.6 2 10/05/2026
3.1.5 43 12/21/2025
3.1.4 32 12/21/2025
3.1.3 44 12/13/2025
3.1.2 39 12/16/2025
3.1.1 41 12/17/2025
3.1.0 40 12/13/2025
3.1.0-preview3.19555.2 36 01/04/2026
3.1.0-preview2.19528.8 39 12/21/2025
3.1.0-preview1.19508.20 39 12/21/2025
3.0.3 47 12/21/2025
3.0.2 47 12/21/2025
3.0.0 43 12/21/2025
3.0.0-rc1.19457.4 41 12/21/2025
3.0.0-preview9.19424.4 38 12/21/2025
3.0.0-preview8.19405.7 31 12/21/2025
3.0.0-preview7.19365.7 42 12/13/2025
3.0.0-preview6.19307.2 41 12/13/2025
3.0.0-preview5-19227-01 30 12/13/2025
3.0.0-preview4-19216-03 41 12/21/2025
3.0.0-preview3-19153-02 47 12/18/2025
3.0.0-preview-19075-0444 40 12/21/2025
3.0.0-preview-18579-0056 42 12/13/2025
2.2.5 38 12/16/2025
2.2.0 48 12/13/2025
2.2.0-preview3-35497 29 12/21/2025