Microsoft.AspNetCore.DataProtection.StackExchangeRedis 10.0.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.DataProtection.StackExchangeRedis --version 10.0.1
                    
NuGet\Install-Package Microsoft.AspNetCore.DataProtection.StackExchangeRedis -Version 10.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="10.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="10.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.DataProtection.StackExchangeRedis --version 10.0.1
                    
#r "nuget: Microsoft.AspNetCore.DataProtection.StackExchangeRedis, 10.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.AspNetCore.DataProtection.StackExchangeRedis@10.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.DataProtection.StackExchangeRedis&version=10.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.DataProtection.StackExchangeRedis&version=10.0.1
                    
Install as a Cake Tool

About

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

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (113)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.DataProtection.StackExchangeRedis:

Package Downloads
OrchardCore.Application.Cms.Core.Targets

Orchard Core CMS is a Web Content Management System (CMS) built on top of the Orchard Core Framework. Converts the application into a modular OrchardCore CMS application with TheAdmin theme but without any front-end Themes.

OrchardCore.Redis

Orchard Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Provides Redis features for configuration, cache, bus and lock.

OrchardCore.Redis.Abstractions

Orchard Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Abstractions for Redis.

OrchardCore.Application.Cms.Targets

Orchard Core CMS is a Web Content Management System (CMS) built on top of the Orchard Core Framework. Converts the application into a modular OrchardCore CMS application with following themes. - TheAdmin Theme - SafeMode Theme - TheAgency Theme - TheBlog Theme - TheComingSoon Theme - TheTheme theme

Sitko.Core.Auth

Sitko.Core is a set of libraries to help build .NET Core applications fast

GitHub repositories (30)

Showing the top 20 popular GitHub repositories that depend on Microsoft.AspNetCore.DataProtection.StackExchangeRedis:

Repository Stars
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
anjoy8/Blog.Core
💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
vietnam-devs/coolstore-microservices
A full-stack .NET microservices build on Dapr and Tye
grandnode/grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
blogifierdotnet/Blogifier
Blogifier is an open-source publishing platform Written in ASP.NET and Blazor WebAssembly. With Blogifier make a personal blog or a website.
abpframework/abp-samples
Sample solutions built with the ABP Framework
grandnode/grandnode2
E-commerce platform built with ASP.NET Core using MongoDB for NoSQL storage
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
SteeltoeOSS/Steeltoe
.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
colinin/abp-next-admin
这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
mixcore/mix.core
🚀 A future-proof enterprise web CMS supporting both headless and decoupled approaches. Build any type of app with customizable APIs on ASP.NET Core/.NET Core. Completely open-source and designed for flexibility.
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
abpframework/eShopOnAbp
Reference microservice solution built with the ABP Framework and .NET, runs on Kubernetes with Helm configuration, includes API Gateways, Angular and ASP.NET Core MVC applications, PostgreSQL and MongoDB databases
jerrytang67/SoMall
社交电商商城开源项目.socail+mall即取名SoMall ,abp netcore 3.1 angular vue uni-app typescript docker mssql
netcorepal/netcorepal-cloud-framework
一个基于ASP.NET Core实现的整洁领域驱动设计落地战术框架。 A tactical framework for Clean Domain-Driven Design based on ASP.NET Core.
xiajingren/HelloAbp
ABP vNext + vue-element-admin入门级项目实践
abpframework/eventhub
Open-source event organizing web application and a reference DDD solution.
842549829/Panda
Abp.vNext + EF Core The microservices Open source framework project supports the implementation of message push workflow certification centers based on OAuth2.0
Version Downloads Last Updated
10.0.2 0 1/13/2026
10.0.1 76,050 12/9/2025
10.0.0 152,539 11/11/2025
10.0.0-rc.2.25502.107 11,650 10/14/2025
10.0.0-rc.1.25451.107 8,995 9/9/2025
10.0.0-preview.7.25380.108 1,028 8/12/2025
10.0.0-preview.6.25358.103 355 7/15/2025
10.0.0-preview.5.25277.114 509 6/6/2025
10.0.0-preview.4.25258.110 1,311 5/12/2025
10.0.0-preview.3.25172.1 900 4/10/2025
10.0.0-preview.2.25164.1 2,486 3/18/2025
10.0.0-preview.1.25120.3 128,257 2/25/2025
9.0.12 0 1/13/2026
9.0.11 74,711 11/11/2025
9.0.10 261,142 10/14/2025
9.0.9 319,271 9/9/2025
9.0.8 359,810 8/5/2025
9.0.7 256,706 7/8/2025
9.0.6 302,524 6/10/2025
9.0.5 351,266 5/13/2025
9.0.4 332,831 4/8/2025
9.0.3 290,281 3/11/2025
9.0.2 334,954 2/11/2025
9.0.1 304,309 1/14/2025
9.0.0 637,398 11/12/2024
9.0.0-rc.2.24474.3 11,157 10/8/2024
9.0.0-rc.1.24452.1 6,010 9/10/2024
9.0.0-preview.7.24406.2 4,534 8/13/2024
9.0.0-preview.6.24328.4 8,519 7/9/2024
9.0.0-preview.5.24306.11 469 6/11/2024
9.0.0-preview.4.24267.6 375 5/21/2024
9.0.0-preview.3.24172.13 75,749 4/11/2024
9.0.0-preview.2.24128.4 1,507 3/12/2024
9.0.0-preview.1.24081.5 20,926 2/13/2024
8.0.23 0 1/13/2026
8.0.22 537,839 11/11/2025
8.0.21 147,765 10/14/2025
8.0.20 111,395 9/9/2025
8.0.19 864,014 8/4/2025
8.0.18 71,632 7/8/2025
8.0.17 854,531 6/10/2025
8.0.16 310,472 5/13/2025
8.0.15 463,559 4/8/2025
8.0.14 421,703 3/11/2025
8.0.13 416,872 2/11/2025
8.0.12 567,210 1/14/2025
8.0.11 1,219,730 11/12/2024
8.0.10 1,111,335 10/8/2024
8.0.8 1,600,140 8/13/2024
8.0.7 771,181 7/9/2024
8.0.6 1,288,047 5/28/2024
8.0.5 276,474 5/14/2024
8.0.4 1,057,062 4/9/2024
8.0.3 854,617 3/12/2024
8.0.2 579,948 2/13/2024
8.0.1 770,051 1/9/2024
8.0.0 1,056,380 11/14/2023
8.0.0-rc.2.23480.2 9,588 10/10/2023
8.0.0-rc.1.23421.29 4,070 9/12/2023
8.0.0-preview.7.23375.9 1,424 8/8/2023
8.0.0-preview.6.23329.11 1,071 7/11/2023
8.0.0-preview.5.23302.2 2,264 6/13/2023
8.0.0-preview.4.23260.4 263,243 5/16/2023
8.0.0-preview.3.23177.8 3,791 4/11/2023
8.0.0-preview.2.23153.2 1,497 3/14/2023
8.0.0-preview.1.23112.2 53,564 2/21/2023
7.0.20 142,939 5/28/2024
7.0.19 22,673 5/14/2024
7.0.18 45,811 4/9/2024
7.0.17 52,108 3/12/2024
7.0.16 94,466 2/13/2024
7.0.15 108,104 1/9/2024
7.0.14 223,740 11/14/2023
7.0.13 355,837 10/24/2023
7.0.12 138,762 10/10/2023
7.0.11 190,998 9/12/2023
7.0.10 386,363 8/8/2023
7.0.9 353,896 7/11/2023
7.0.8 214,404 6/22/2023
7.0.7 84,834 6/13/2023
7.0.5 449,542 4/11/2023
7.0.4 298,861 3/14/2023
7.0.3 266,475 2/14/2023
7.0.2 464,889 1/10/2023
7.0.1 315,202 12/13/2022
7.0.0 699,804 11/7/2022
7.0.0-rc.2.22476.2 28,117 10/11/2022
7.0.0-rc.1.22427.2 4,031 9/14/2022
7.0.0-preview.7.22376.6 1,530 8/9/2022
7.0.0-preview.6.22330.3 18,314 7/12/2022
7.0.0-preview.5.22303.8 1,015 6/14/2022
7.0.0-preview.4.22251.1 6,073 5/10/2022
7.0.0-preview.3.22178.4 829 4/13/2022
7.0.0-preview.2.22153.2 9,150 3/14/2022
7.0.0-preview.1.22109.13 514 2/17/2022
6.0.36 108,560 11/12/2024
6.0.35 35,948 10/8/2024
6.0.33 60,414 8/13/2024
6.0.32 31,895 7/9/2024
6.0.31 65,831 5/28/2024
6.0.30 38,153 5/14/2024
6.0.29 63,351 4/9/2024
6.0.28 89,415 3/12/2024
6.0.27 107,124 2/13/2024
6.0.26 145,845 1/9/2024
6.0.25 251,937 11/14/2023
6.0.24 102,397 10/24/2023
6.0.23 58,628 10/10/2023
6.0.22 133,240 9/12/2023
6.0.21 188,305 8/8/2023
6.0.20 101,177 7/11/2023
6.0.19 79,090 6/22/2023
6.0.18 104,738 6/13/2023
6.0.16 387,593 4/11/2023
6.0.15 138,292 3/14/2023
6.0.14 208,679 2/14/2023
6.0.13 248,138 1/10/2023
6.0.12 169,039 12/13/2022
6.0.11 462,880 11/7/2022
6.0.10 1,134,380 10/11/2022
6.0.9 408,186 9/13/2022
6.0.8 685,887 8/9/2022
6.0.7 1,033,761 7/12/2022
6.0.6 253,640 6/14/2022
6.0.5 757,572 5/10/2022
6.0.4 432,397 4/11/2022
6.0.3 491,669 3/8/2022
6.0.2 286,069 2/8/2022
6.0.1 891,500 12/14/2021
6.0.0 700,557 11/8/2021
6.0.0-rc.2.21480.10 5,323 10/12/2021
6.0.0-rc.1.21452.15 1,960 9/14/2021
6.0.0-preview.7.21378.6 4,636 8/10/2021
6.0.0-preview.6.21355.2 662 7/14/2021
6.0.0-preview.5.21301.17 666 6/15/2021
6.0.0-preview.4.21253.5 578 5/24/2021
6.0.0-preview.3.21201.13 1,967 4/8/2021
6.0.0-preview.2.21154.6 1,082 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 1,024 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 524,823 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 48,670 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 50,640 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 99,782 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 128,180 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 243,734 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 295,798 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 223,749 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 255,507 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 328,442 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 291,193 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 297,976 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 314,881 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 197,613 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 326,755 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 755,498 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 202,171 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 272,231 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 3,709 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 4,440 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 1,667 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 1,387 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 3,934 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 687 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 1,929 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 1,013 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 838 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 789 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 127,440 12/13/2022
3.1.31 16,403 11/8/2022
3.1.30 39,450 10/11/2022
3.1.29 20,793 9/13/2022
3.1.28 39,571 8/9/2022
3.1.27 28,979 7/12/2022
3.1.26 26,928 6/14/2022
3.1.25 24,963 5/10/2022
3.1.24 22,028 4/11/2022
3.1.23 44,090 3/8/2022
3.1.22 114,401 12/14/2021
3.1.21 170,827 11/7/2021
3.1.20 51,177 10/11/2021
3.1.19 46,504 9/14/2021
3.1.18 61,570 8/10/2021
3.1.17 102,742 7/13/2021
3.1.16 53,518 6/8/2021
3.1.15 105,343 5/11/2021
3.1.14 230,287 4/6/2021
3.1.13 85,444 3/9/2021
3.1.12 278,486 2/9/2021
3.1.11 52,788 1/12/2021
3.1.10 191,871 11/9/2020
3.1.9 324,341 10/13/2020
3.1.8 342,303 9/8/2020
3.1.7 530,825 8/11/2020
3.1.6 378,017 7/14/2020
3.1.5 497,378 6/9/2020
3.1.4 1,100,370 5/12/2020
3.1.3 420,244 3/24/2020
3.1.2 454,552 2/18/2020
3.1.1 226,149 1/14/2020
3.1.0 414,570 12/3/2019
3.1.0-preview3.19555.2 988 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 1,156 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 799 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 13,936 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 15,620 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 559,483 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 853 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 2,019 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 1,474 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 1,965 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 835 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 1,708 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 1,671 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 1,723 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 1,742 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 1,863 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.2.5 948,757 5/14/2019 2.2.5 is deprecated because it is no longer maintained.
2.2.0 991,820 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 8,086 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.