Microsoft.AspNetCore.DataProtection 6.0.0-preview.2.21154.6

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

This is a prerelease version of Microsoft.AspNetCore.DataProtection.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.DataProtection --version 6.0.0-preview.2.21154.6
                    
NuGet\Install-Package Microsoft.AspNetCore.DataProtection -Version 6.0.0-preview.2.21154.6
                    
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" Version="6.0.0-preview.2.21154.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.DataProtection" Version="6.0.0-preview.2.21154.6" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.DataProtection" />
                    
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 --version 6.0.0-preview.2.21154.6
                    
#r "nuget: Microsoft.AspNetCore.DataProtection, 6.0.0-preview.2.21154.6"
                    
#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@6.0.0-preview.2.21154.6
                    
#: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&version=6.0.0-preview.2.21154.6&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.DataProtection&version=6.0.0-preview.2.21154.6&prerelease
                    
Install as a Cake Tool

ASP.NET Core logic to protect and unprotect data, similar to DPAPI.

This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/ffaea14b06ea8b247fa4894b7d21ecf6da2cafbc

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 was computed.  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 is compatible.  net462 was computed.  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 (264)

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

Package Downloads
Microsoft.AspNetCore.Antiforgery

An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks.

Microsoft.AspNetCore.Authentication

ASP.NET Core common types used by the various authentication middleware components.

Microsoft.Identity.Web

This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users, and protected web APIs, which optionally call downstream web APIs.

Microsoft.Identity.Web.TokenCache

This package bring token cache serializers for MSAL.NET confidential client applications.

Microsoft.AspNetCore.DataProtection.Extensions

Additional APIs for ASP.NET Core data protection. This package was built from the source code at https://github.com/dotnet/dotnet/tree/75972a5ba730bdaf7cf3a34f528ab0f5c7f05183

GitHub repositories (44)

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

Repository Stars
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
Jackett/Jackett
API Support for your favorite torrent trackers
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 5, 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.
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
dotnetcore/WTM
Use WTM to write .netcore app fast !!!
projectkudu/kudu
Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
FoundatioFx/Foundatio
Pluggable foundation blocks for building distributed apps.
CoreWCF/CoreWCF
Main repository for the Core WCF project
NethermindEth/nethermind
A robust execution client for Ethereum node operators.
Azure/azure-functions-core-tools
Command line tools for Azure Functions
aspnet/Security
[Archived] Middleware for security and authorization of web apps. Project moved to https://github.com/aspnet/AspNetCore
lanedirt/AliasVault
Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
security-code-scan/security-code-scan
Vulnerability Patterns Detector for C# and VB.NET
BcryptNet/bcrypt.net
BCrypt.Net - Bringing updates to the original bcrypt package
NewLifeX/NewLife.Redis
High performance redis client, support NETCore/. NET4. 0/. NET4. 5. It is specially optimized for big data and message queue. The average daily consumption of online single application is 10 billion. 高性能Redis客户端,支持.NETCore/.NET4.0/.NET4.5,为大数据与消息队列而特别优化,线上单应用日均100亿调用量
riganti/dotvvm
Open source MVVM framework for Web Apps
AzureAD/microsoft-identity-web
Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
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
Version Downloads Last Updated
10.0.0-preview.6.25358.103 78 7/15/2025
10.0.0-preview.5.25277.114 1,530 6/6/2025
10.0.0-preview.4.25258.110 1,777 5/12/2025
10.0.0-preview.3.25172.1 1,890 4/10/2025
10.0.0-preview.2.25164.1 1,567 3/18/2025
10.0.0-preview.1.25120.3 36,213 2/25/2025
9.0.7 49,067 7/8/2025
9.0.6 407,330 6/10/2025
9.0.5 502,586 5/13/2025
9.0.4 696,123 4/8/2025
9.0.3 538,003 3/11/2025
9.0.2 790,844 2/11/2025
9.0.1 1,030,816 1/14/2025
9.0.0 7,483,897 11/12/2024
9.0.0-rc.2.24474.3 208,413 10/8/2024
9.0.0-rc.1.24452.1 138,083 9/10/2024
9.0.0-preview.7.24406.2 3,425 8/13/2024
9.0.0-preview.6.24328.4 97,370 7/9/2024
9.0.0-preview.5.24306.11 1,094 6/11/2024
9.0.0-preview.4.24267.6 8,077 5/21/2024
9.0.0-preview.3.24172.13 76,238 4/11/2024
9.0.0-preview.2.24128.4 21,340 3/12/2024
9.0.0-preview.1.24081.5 21,406 2/13/2024
8.0.18 20,196 7/8/2025
8.0.17 409,844 6/10/2025
8.0.16 398,801 5/13/2025
8.0.15 528,692 4/8/2025
8.0.14 527,671 3/11/2025
8.0.13 658,568 2/11/2025
8.0.12 713,542 1/14/2025
8.0.11 4,739,762 11/12/2024
8.0.10 2,794,955 10/8/2024
8.0.8 3,057,508 8/13/2024
8.0.7 1,965,860 7/9/2024
8.0.6 3,000,242 5/28/2024
8.0.5 776,031 5/14/2024
8.0.4 4,155,247 4/9/2024
8.0.3 1,607,035 3/12/2024
8.0.2 1,547,726 2/13/2024
8.0.1 20,713,913 1/9/2024
8.0.0 23,107,235 11/14/2023
8.0.0-rc.2.23480.2 1,057,393 10/10/2023
8.0.0-rc.1.23421.29 101,966 9/12/2023
8.0.0-preview.7.23375.9 396,663 8/8/2023
8.0.0-preview.6.23329.11 7,655 7/11/2023
8.0.0-preview.5.23302.2 3,908 6/13/2023
8.0.0-preview.4.23260.4 257,193 5/16/2023
8.0.0-preview.3.23177.8 6,515 4/11/2023
8.0.0-preview.2.23153.2 2,362 3/14/2023
8.0.0-preview.1.23112.2 55,227 2/21/2023
7.0.20 316,299 5/28/2024
7.0.19 23,629 5/14/2024
7.0.18 109,566 4/9/2024
7.0.17 275,917 3/12/2024
7.0.16 153,386 2/13/2024
7.0.15 196,303 1/9/2024
7.0.14 644,195 11/14/2023
7.0.13 692,529 10/24/2023
7.0.12 1,437,551 10/10/2023
7.0.11 1,060,983 9/12/2023
7.0.10 2,067,335 8/8/2023
7.0.9 2,000,441 7/11/2023
7.0.8 468,296 6/22/2023
7.0.7 1,411,615 6/13/2023
7.0.5 3,676,038 4/11/2023
7.0.4 1,712,329 3/14/2023
7.0.3 2,873,661 2/14/2023
7.0.2 972,808 1/10/2023
7.0.1 582,778 12/13/2022
7.0.0 3,241,823 11/7/2022
7.0.0-rc.2.22476.2 33,081 10/11/2022
7.0.0-rc.1.22427.2 5,852 9/14/2022
7.0.0-preview.7.22376.6 5,263 8/9/2022
7.0.0-preview.6.22330.3 19,593 7/12/2022
7.0.0-preview.5.22303.8 1,575 6/14/2022
7.0.0-preview.4.22251.1 6,874 5/10/2022
7.0.0-preview.3.22178.4 1,431 4/13/2022
7.0.0-preview.2.22153.2 10,882 3/14/2022
7.0.0-preview.1.22109.13 2,712 2/17/2022
6.0.36 192,247 11/12/2024
6.0.35 70,143 10/8/2024
6.0.33 652,969 8/13/2024
6.0.32 78,478 7/9/2024
6.0.31 109,086 5/28/2024
6.0.30 54,772 5/14/2024
6.0.29 262,156 4/9/2024
6.0.28 251,224 3/12/2024
6.0.27 363,427 2/13/2024
6.0.26 286,899 1/9/2024
6.0.25 709,225 11/14/2023
6.0.24 230,484 10/24/2023
6.0.23 1,169,634 10/10/2023
6.0.22 941,373 9/12/2023
6.0.21 1,448,987 8/8/2023
6.0.20 1,193,133 7/11/2023
6.0.19 156,629 6/22/2023
6.0.18 1,008,267 6/13/2023
6.0.16 2,797,245 4/11/2023
6.0.15 1,049,071 3/14/2023
6.0.14 1,350,570 2/14/2023
6.0.13 1,238,246 1/10/2023
6.0.12 350,753 12/13/2022
6.0.11 1,205,083 11/7/2022
6.0.10 1,969,446 10/11/2022
6.0.9 1,566,075 9/13/2022
6.0.8 1,650,307 8/9/2022
6.0.7 1,808,703 7/12/2022
6.0.6 1,229,132 6/14/2022
6.0.5 2,084,392 5/10/2022
6.0.4 1,426,086 4/11/2022
6.0.3 1,394,646 3/8/2022
6.0.2 1,109,976 2/8/2022
6.0.1 3,363,098 12/14/2021
6.0.0 6,869,871 11/8/2021
6.0.0-rc.2.21480.10 15,576 10/12/2021
6.0.0-rc.1.21452.15 4,280 9/14/2021
6.0.0-preview.7.21378.6 7,384 8/10/2021
6.0.0-preview.6.21355.2 1,572 7/14/2021
6.0.0-preview.5.21301.17 1,960 6/15/2021
6.0.0-preview.4.21253.5 1,520 5/24/2021
6.0.0-preview.3.21201.13 3,070 4/8/2021
6.0.0-preview.2.21154.6 1,383 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 2,054 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 803,561 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 63,630 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 179,335 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 199,242 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 203,444 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 409,112 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 686,168 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 612,866 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 914,350 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 34,225,967 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 825,624 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 815,348 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 7,121,220 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 505,426 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 633,066 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,191,515 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 538,007 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 669,663 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 7,919 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 62,629 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 23,882 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 2,994 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 4,445 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 1,278 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 2,652 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 3,259 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 1,460 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 1,413 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 12,622,044 12/13/2022
3.1.31 717,318 11/8/2022
3.1.30 415,827 10/11/2022
3.1.29 28,221 9/13/2022
3.1.28 4,203,734 8/9/2022
3.1.27 53,520 7/12/2022
3.1.26 39,953 6/14/2022
3.1.25 41,215 5/10/2022
3.1.24 2,248,034 4/11/2022
3.1.23 394,506 3/8/2022
3.1.22 1,069,450 12/14/2021
3.1.21 391,213 11/7/2021
3.1.20 161,611 10/11/2021
3.1.19 144,352 9/14/2021
3.1.18 416,725 8/10/2021
3.1.17 350,912 7/13/2021
3.1.16 337,406 6/8/2021
3.1.15 329,420 5/11/2021
3.1.14 629,719 4/6/2021
3.1.13 320,433 3/9/2021
3.1.12 554,067 2/9/2021
3.1.11 295,198 1/12/2021
3.1.10 753,126 11/9/2020
3.1.9 1,605,333 10/13/2020
3.1.8 1,566,866 9/8/2020
3.1.7 1,248,324 8/11/2020
3.1.6 1,125,207 7/14/2020
3.1.5 1,239,923 6/9/2020
3.1.4 2,009,810 5/12/2020
3.1.3 2,151,215 3/24/2020
3.1.2 1,285,560 2/18/2020
3.1.1 1,422,692 1/14/2020
3.1.0 2,171,101 12/3/2019
3.1.0-preview3.19555.2 3,172 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 2,881 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,258 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 68,585 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 26,859 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 2,832,548 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 5,002 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 5,373 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 6,582 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 6,147 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
2.3.0 4,535,417 1/14/2025
2.2.0 246,411,042 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 139,795 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 230,940 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 55,389 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 59,082,557 6/18/2018
2.1.0 56,478,347 5/29/2018
2.1.0-rc1-final 194,552 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 259,169 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 213,673 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 13,248,504 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 13,845,628 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 23,460,991 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 62,889,782 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 115,835 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 42,162 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,847,173 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,595,865 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,630,264 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 3,539,875 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 188,372 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 877,271 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 43,760 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 240,324 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 3,291,061 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 634,209 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 10,060,108 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 246,749 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.