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

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