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

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