Microsoft.AspNetCore.DataProtection 5.0.0-preview.6.20312.15

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 5.0.0-preview.6.20312.15
                    
NuGet\Install-Package Microsoft.AspNetCore.DataProtection -Version 5.0.0-preview.6.20312.15
                    
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="5.0.0-preview.6.20312.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.DataProtection" Version="5.0.0-preview.6.20312.15" />
                    
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 5.0.0-preview.6.20312.15
                    
#r "nuget: Microsoft.AspNetCore.DataProtection, 5.0.0-preview.6.20312.15"
                    
#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.
#addin nuget:?package=Microsoft.AspNetCore.DataProtection&version=5.0.0-preview.6.20312.15&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.DataProtection&version=5.0.0-preview.6.20312.15&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/da6e34b3e17bac8fd1f78c7e76d7ed6192514651

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

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/ddf39a1b4690fbe23aea79c78da67004a5c31094

GitHub repositories (47)

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.5.25277.114 1,027 6/6/2025
10.0.0-preview.4.25258.110 1,767 5/12/2025
10.0.0-preview.3.25172.1 1,848 4/10/2025
10.0.0-preview.2.25164.1 1,528 3/18/2025
10.0.0-preview.1.25120.3 29,102 2/25/2025
9.0.7 380 7/8/2025
9.0.6 297,700 6/10/2025
9.0.5 473,768 5/13/2025
9.0.4 668,286 4/8/2025
9.0.3 519,986 3/11/2025
9.0.2 769,922 2/11/2025
9.0.1 995,665 1/14/2025
9.0.0 7,118,722 11/12/2024
9.0.0-rc.2.24474.3 204,739 10/8/2024
9.0.0-rc.1.24452.1 135,419 9/10/2024
9.0.0-preview.7.24406.2 3,385 8/13/2024
9.0.0-preview.6.24328.4 93,705 7/9/2024
9.0.0-preview.5.24306.11 1,084 6/11/2024
9.0.0-preview.4.24267.6 8,069 5/21/2024
9.0.0-preview.3.24172.13 76,230 4/11/2024
9.0.0-preview.2.24128.4 21,312 3/12/2024
9.0.0-preview.1.24081.5 21,397 2/13/2024
8.0.18 345 7/8/2025
8.0.17 298,873 6/10/2025
8.0.16 333,751 5/13/2025
8.0.15 502,571 4/8/2025
8.0.14 515,379 3/11/2025
8.0.13 635,346 2/11/2025
8.0.12 692,972 1/14/2025
8.0.11 4,561,677 11/12/2024
8.0.10 2,731,893 10/8/2024
8.0.8 3,008,613 8/13/2024
8.0.7 1,940,558 7/9/2024
8.0.6 2,948,522 5/28/2024
8.0.5 765,644 5/14/2024
8.0.4 4,081,805 4/9/2024
8.0.3 1,589,048 3/12/2024
8.0.2 1,532,123 2/13/2024
8.0.1 20,110,785 1/9/2024
8.0.0 22,866,653 11/14/2023
8.0.0-rc.2.23480.2 1,044,280 10/10/2023
8.0.0-rc.1.23421.29 100,215 9/12/2023
8.0.0-preview.7.23375.9 390,817 8/8/2023
8.0.0-preview.6.23329.11 7,648 7/11/2023
8.0.0-preview.5.23302.2 3,896 6/13/2023
8.0.0-preview.4.23260.4 256,618 5/16/2023
8.0.0-preview.3.23177.8 6,509 4/11/2023
8.0.0-preview.2.23153.2 2,354 3/14/2023
8.0.0-preview.1.23112.2 55,221 2/21/2023
7.0.20 309,826 5/28/2024
7.0.19 23,533 5/14/2024
7.0.18 109,335 4/9/2024
7.0.17 275,837 3/12/2024
7.0.16 153,030 2/13/2024
7.0.15 196,037 1/9/2024
7.0.14 643,600 11/14/2023
7.0.13 689,915 10/24/2023
7.0.12 1,431,045 10/10/2023
7.0.11 1,059,066 9/12/2023
7.0.10 2,059,820 8/8/2023
7.0.9 1,994,253 7/11/2023
7.0.8 466,898 6/22/2023
7.0.7 1,403,634 6/13/2023
7.0.5 3,658,079 4/11/2023
7.0.4 1,706,179 3/14/2023
7.0.3 2,868,572 2/14/2023
7.0.2 970,762 1/10/2023
7.0.1 581,363 12/13/2022
7.0.0 3,228,841 11/7/2022
7.0.0-rc.2.22476.2 33,067 10/11/2022
7.0.0-rc.1.22427.2 5,848 9/14/2022
7.0.0-preview.7.22376.6 5,257 8/9/2022
7.0.0-preview.6.22330.3 19,584 7/12/2022
7.0.0-preview.5.22303.8 1,567 6/14/2022
7.0.0-preview.4.22251.1 6,855 5/10/2022
7.0.0-preview.3.22178.4 1,421 4/13/2022
7.0.0-preview.2.22153.2 10,778 3/14/2022
7.0.0-preview.1.22109.13 2,704 2/17/2022
6.0.36 184,751 11/12/2024
6.0.35 68,806 10/8/2024
6.0.33 626,474 8/13/2024
6.0.32 77,716 7/9/2024
6.0.31 108,570 5/28/2024
6.0.30 54,392 5/14/2024
6.0.29 259,896 4/9/2024
6.0.28 249,692 3/12/2024
6.0.27 358,890 2/13/2024
6.0.26 285,538 1/9/2024
6.0.25 703,490 11/14/2023
6.0.24 229,343 10/24/2023
6.0.23 1,166,596 10/10/2023
6.0.22 938,250 9/12/2023
6.0.21 1,443,668 8/8/2023
6.0.20 1,191,090 7/11/2023
6.0.19 156,273 6/22/2023
6.0.18 1,006,409 6/13/2023
6.0.16 2,790,450 4/11/2023
6.0.15 1,046,541 3/14/2023
6.0.14 1,348,064 2/14/2023
6.0.13 1,235,420 1/10/2023
6.0.12 349,815 12/13/2022
6.0.11 1,202,449 11/7/2022
6.0.10 1,960,438 10/11/2022
6.0.9 1,563,316 9/13/2022
6.0.8 1,646,457 8/9/2022
6.0.7 1,802,689 7/12/2022
6.0.6 1,226,102 6/14/2022
6.0.5 2,079,110 5/10/2022
6.0.4 1,423,842 4/11/2022
6.0.3 1,391,802 3/8/2022
6.0.2 1,108,057 2/8/2022
6.0.1 3,353,054 12/14/2021
6.0.0 6,824,957 11/8/2021
6.0.0-rc.2.21480.10 15,523 10/12/2021
6.0.0-rc.1.21452.15 4,269 9/14/2021
6.0.0-preview.7.21378.6 7,377 8/10/2021
6.0.0-preview.6.21355.2 1,563 7/14/2021
6.0.0-preview.5.21301.17 1,953 6/15/2021
6.0.0-preview.4.21253.5 1,510 5/24/2021
6.0.0-preview.3.21201.13 3,061 4/8/2021
6.0.0-preview.2.21154.6 1,372 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,042 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 800,471 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 63,568 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 179,248 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 198,831 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 203,345 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 408,711 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 685,714 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 612,385 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 900,974 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 34,115,658 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 825,046 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 814,117 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 7,101,150 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 504,503 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 632,718 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,189,260 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 537,255 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 668,698 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 7,906 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,503 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,858 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,984 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,382 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,265 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,642 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,247 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,447 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,399 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 12,486,544 12/13/2022
3.1.31 716,335 11/8/2022
3.1.30 413,647 10/11/2022
3.1.29 28,189 9/13/2022
3.1.28 4,186,648 8/9/2022
3.1.27 53,494 7/12/2022
3.1.26 39,829 6/14/2022
3.1.25 41,111 5/10/2022
3.1.24 2,226,234 4/11/2022
3.1.23 393,329 3/8/2022
3.1.22 1,067,948 12/14/2021
3.1.21 390,810 11/7/2021
3.1.20 161,499 10/11/2021
3.1.19 144,232 9/14/2021
3.1.18 416,409 8/10/2021
3.1.17 350,530 7/13/2021
3.1.16 336,868 6/8/2021
3.1.15 328,930 5/11/2021
3.1.14 629,322 4/6/2021
3.1.13 319,924 3/9/2021
3.1.12 553,159 2/9/2021
3.1.11 294,912 1/12/2021
3.1.10 752,698 11/9/2020
3.1.9 1,602,845 10/13/2020
3.1.8 1,565,144 9/8/2020
3.1.7 1,247,479 8/11/2020
3.1.6 1,123,190 7/14/2020
3.1.5 1,237,769 6/9/2020
3.1.4 2,005,722 5/12/2020
3.1.3 2,143,478 3/24/2020
3.1.2 1,284,133 2/18/2020
3.1.1 1,421,274 1/14/2020
3.1.0 2,163,837 12/3/2019
3.1.0-preview3.19555.2 3,157 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 2,866 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,241 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 68,536 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 26,841 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 2,826,715 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 4,990 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 5,359 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 6,570 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 6,135 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
2.3.0 4,188,993 1/14/2025
2.2.0 245,243,876 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 139,740 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 230,743 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 55,340 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 58,813,651 6/18/2018
2.1.0 56,346,278 5/29/2018
2.1.0-rc1-final 194,480 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 259,129 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 213,631 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 13,223,018 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 13,828,118 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 23,418,748 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 62,743,339 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 115,768 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 42,109 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,840,655 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,590,381 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,625,909 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 3,528,773 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 188,333 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 875,139 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 43,527 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 236,249 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 3,285,810 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 633,928 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 10,029,967 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 246,543 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.