Microsoft.AspNetCore.DataProtection.StackExchangeRedis 11.0.0-preview.6.26359.118

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-preview.6.26359.118 5 07/17/2026
11.0.0-preview.5.26302.115 18 06/09/2026
11.0.0-preview.4.26230.115 28 05/13/2026
11.0.0-preview.3.26207.106 35 04/14/2026
11.0.0-preview.2.26159.112 32 03/12/2026
11.0.0-preview.1.26104.118 41 02/11/2026
10.0.10 7 07/15/2026
10.0.9 10 06/09/2026
10.0.8 20 05/13/2026
10.0.7 21 04/21/2026
10.0.6 29 04/14/2026
10.0.5 27 03/14/2026
10.0.4 25 03/12/2026
10.0.3 41 02/11/2026
10.0.2 44 01/13/2026
10.0.1 65 12/10/2025
10.0.0 66 11/12/2025
10.0.0-rc.2.25502.107 94 10/15/2025
10.0.0-rc.1.25451.107 84 09/09/2025
10.0.0-preview.7.25380.108 121 08/14/2025
10.0.0-preview.6.25358.103 96 07/16/2025
10.0.0-preview.5.25277.114 105 06/07/2025
10.0.0-preview.4.25258.110 105 05/17/2025
10.0.0-preview.3.25172.1 126 04/13/2025
10.0.0-preview.2.25164.1 112 04/01/2025
10.0.0-preview.1.25120.3 97 04/01/2025
9.0.18 4 07/17/2026
9.0.17 12 06/09/2026
9.0.16 12 05/13/2026
9.0.15 28 04/14/2026
9.0.14 34 03/12/2026
9.0.13 37 02/11/2026
9.0.12 28 01/14/2026
9.0.11 83 11/12/2025
9.0.10 83 10/15/2025
9.0.9 89 09/09/2025
9.0.8 93 08/05/2025
9.0.7 98 07/09/2025
9.0.6 111 06/12/2025
9.0.5 122 05/18/2025
9.0.4 92 04/10/2025
9.0.3 116 03/25/2025
9.0.2 112 02/16/2025
9.0.1 124 04/02/2025
9.0.0 115 11/14/2024
9.0.0-rc.2.24474.3 119 10/15/2024
9.0.0-rc.1.24452.1 126 09/20/2024
9.0.0-preview.7.24406.2 122 09/01/2024
9.0.0-preview.6.24328.4 135 08/29/2024
9.0.0-preview.5.24306.11 129 08/28/2024
9.0.0-preview.4.24267.6 115 08/28/2024
9.0.0-preview.3.24172.13 124 09/01/2024
9.0.0-preview.2.24128.4 124 09/01/2024
9.0.0-preview.1.24081.5 116 09/01/2024
8.0.29 7 07/16/2026
8.0.28 12 06/09/2026
8.0.27 19 05/13/2026
8.0.26 32 04/14/2026
8.0.25 36 03/12/2026
8.0.24 30 02/11/2026
8.0.23 35 01/13/2026
8.0.22 78 11/12/2025
8.0.21 66 10/15/2025
8.0.20 102 09/09/2025
8.0.19 98 08/05/2025
8.0.18 94 07/09/2025
8.0.17 102 06/12/2025
8.0.16 107 05/16/2025
8.0.15 99 04/10/2025
8.0.14 103 03/30/2025
8.0.13 106 03/29/2025
8.0.12 127 03/30/2025
8.0.11 118 11/14/2024
8.0.10 118 10/14/2024
8.0.8 149 08/21/2024
8.0.7 100 09/01/2024
8.0.6 123 08/29/2024
8.0.5 111 08/28/2024
8.0.4 129 09/01/2024
8.0.3 116 09/01/2024
8.0.2 111 08/29/2024
8.0.1 118 09/01/2024
8.0.0 122 09/12/2024
8.0.0-rc.2.23480.2 135 09/20/2024
8.0.0-rc.1.23421.29 118 08/31/2024
8.0.0-preview.7.23375.9 132 09/01/2024
8.0.0-preview.6.23329.11 129 09/01/2024
8.0.0-preview.5.23302.2 114 08/31/2024
8.0.0-preview.4.23260.4 112 09/01/2024
8.0.0-preview.3.23177.8 107 08/29/2024
8.0.0-preview.2.23153.2 109 09/01/2024
8.0.0-preview.1.23112.2 123 08/28/2024
7.0.20 112 08/29/2024
7.0.19 133 09/01/2024
7.0.18 114 08/29/2024
7.0.17 105 09/01/2024
7.0.16 111 08/29/2024
7.0.15 106 08/28/2024
7.0.14 106 09/01/2024
7.0.13 118 08/29/2024
7.0.12 122 09/01/2024
7.0.11 116 08/31/2024
7.0.10 113 08/28/2024
7.0.9 135 08/28/2024
7.0.8 110 09/01/2024
7.0.7 114 09/01/2024
7.0.5 116 08/29/2024
7.0.4 116 08/31/2024
7.0.3 122 08/29/2024
7.0.2 119 08/31/2024
7.0.1 107 08/31/2024
7.0.0 116 08/31/2024
7.0.0-rc.2.22476.2 126 09/01/2024
7.0.0-rc.1.22427.2 108 09/01/2024
7.0.0-preview.7.22376.6 109 08/29/2024
7.0.0-preview.6.22330.3 121 09/01/2024
7.0.0-preview.5.22303.8 106 09/01/2024
7.0.0-preview.4.22251.1 142 08/29/2024
7.0.0-preview.3.22178.4 116 08/29/2024
7.0.0-preview.2.22153.2 123 08/28/2024
7.0.0-preview.1.22109.13 126 09/01/2024
6.0.36 113 11/14/2024
6.0.35 134 10/15/2024
6.0.33 122 08/28/2024
6.0.32 101 08/29/2024
6.0.31 134 08/29/2024
6.0.30 124 08/29/2024
6.0.29 113 08/28/2024
6.0.28 119 09/01/2024
6.0.27 126 09/01/2024
6.0.26 113 08/28/2024
6.0.25 99 09/20/2024
6.0.24 100 08/31/2024
6.0.23 115 09/01/2024
6.0.22 102 09/01/2024
6.0.21 116 08/28/2024
6.0.20 127 09/01/2024
6.0.19 102 09/01/2024
6.0.18 109 08/29/2024
6.0.16 107 09/01/2024
6.0.15 115 09/01/2024
6.0.14 106 09/01/2024
6.0.13 114 09/01/2024
6.0.12 112 09/01/2024
6.0.11 116 09/01/2024
6.0.10 121 08/29/2024
6.0.9 112 09/02/2024
6.0.8 117 08/29/2024
6.0.7 119 09/20/2024
6.0.6 105 08/28/2024
6.0.5 109 08/31/2024
6.0.4 121 08/31/2024
6.0.3 122 09/01/2024
6.0.2 105 09/01/2024
6.0.1 111 09/01/2024
6.0.0 117 09/01/2024
6.0.0-rc.2.21480.10 114 08/31/2024
6.0.0-rc.1.21452.15 122 08/29/2024
6.0.0-preview.7.21378.6 114 08/29/2024
6.0.0-preview.6.21355.2 131 08/31/2024
6.0.0-preview.5.21301.17 106 09/01/2024
6.0.0-preview.4.21253.5 112 09/12/2024
6.0.0-preview.3.21201.13 110 08/28/2024
6.0.0-preview.2.21154.6 138 08/31/2024
6.0.0-preview.1.21103.6 123 08/28/2024
5.0.17 116 09/01/2024
5.0.16 120 08/28/2024
5.0.15 129 09/01/2024
5.0.14 128 08/28/2024
5.0.13 117 09/01/2024
5.0.12 108 08/29/2024
5.0.11 103 08/29/2024
5.0.10 130 08/28/2024
5.0.9 109 09/01/2024
5.0.8 126 08/28/2024
5.0.7 124 09/01/2024
5.0.6 118 09/01/2024
5.0.5 125 08/29/2024
5.0.4 125 09/01/2024
5.0.3 110 08/28/2024
5.0.2 116 09/01/2024
5.0.1 115 08/29/2024
5.0.0 113 09/12/2024
5.0.0-rc.2.20475.17 118 08/31/2024
5.0.0-rc.1.20451.17 109 09/01/2024
5.0.0-preview.8.20414.8 130 09/20/2024
5.0.0-preview.7.20365.19 132 08/28/2024
5.0.0-preview.6.20312.15 120 08/29/2024
5.0.0-preview.5.20279.2 126 09/01/2024
5.0.0-preview.4.20257.10 102 08/29/2024
5.0.0-preview.3.20215.14 128 08/29/2024
5.0.0-preview.2.20167.3 117 08/28/2024
5.0.0-preview.1.20124.5 120 08/27/2024
3.1.32 109 08/31/2024
3.1.31 124 09/01/2024
3.1.30 104 08/31/2024
3.1.29 121 08/28/2024
3.1.28 123 08/29/2024
3.1.27 120 09/01/2024
3.1.26 137 09/20/2024
3.1.25 108 08/29/2024
3.1.24 106 08/29/2024
3.1.23 113 08/29/2024
3.1.22 110 09/12/2024
3.1.21 120 09/01/2024
3.1.20 131 09/01/2024
3.1.19 130 08/28/2024
3.1.18 126 09/20/2024
3.1.17 109 09/13/2024
3.1.16 100 08/29/2024
3.1.15 101 08/31/2024
3.1.14 109 09/20/2024
3.1.13 115 08/28/2024
3.1.12 103 09/01/2024
3.1.11 112 09/01/2024
3.1.10 119 09/01/2024
3.1.9 122 09/01/2024
3.1.8 103 09/01/2024
3.1.7 119 08/28/2024
3.1.6 112 08/29/2024
3.1.5 113 08/28/2024
3.1.4 102 08/28/2024
3.1.3 108 08/29/2024
3.1.2 130 09/01/2024
3.1.1 121 09/01/2024
3.1.0 113 08/31/2024
3.1.0-preview3.19555.2 134 08/31/2024
3.1.0-preview2.19528.8 140 08/27/2024
3.1.0-preview1.19508.20 138 08/31/2024
3.0.3 104 09/01/2024
3.0.2 120 08/29/2024
3.0.0 124 09/01/2024
3.0.0-rc1.19457.4 120 09/01/2024
3.0.0-preview9.19424.4 119 08/28/2024
3.0.0-preview8.19405.7 118 09/01/2024
3.0.0-preview7.19365.7 109 08/28/2024
3.0.0-preview6.19307.2 110 08/29/2024
3.0.0-preview5-19227-01 125 09/01/2024
3.0.0-preview4-19216-03 125 09/01/2024
3.0.0-preview3-19153-02 139 08/31/2024
3.0.0-preview-19075-0444 132 09/13/2024
3.0.0-preview-18579-0056 106 08/29/2024
2.2.5 106 08/29/2024
2.2.0 99 08/29/2024
2.2.0-preview3-35497 109 09/01/2024