Microsoft.AspNetCore.DataProtection 3.1.16

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.DataProtection --version 3.1.16
                    
NuGet\Install-Package Microsoft.AspNetCore.DataProtection -Version 3.1.16
                    
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="3.1.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.DataProtection" Version="3.1.16" />
                    
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 3.1.16
                    
#r "nuget: Microsoft.AspNetCore.DataProtection, 3.1.16"
                    
#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=3.1.16
                    
Install Microsoft.AspNetCore.DataProtection as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.DataProtection&version=3.1.16
                    
Install Microsoft.AspNetCore.DataProtection 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/aspnet/AspNetCore/tree/7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf

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 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 is compatible. 
.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 (262)

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
A self-hostable, end-to-end encrypted password manager with a built-in alias generator and email server.
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 504 6/6/2025
10.0.0-preview.4.25258.110 1,705 5/12/2025
10.0.0-preview.3.25172.1 1,810 4/10/2025
10.0.0-preview.2.25164.1 1,383 3/18/2025
10.0.0-preview.1.25120.3 18,633 2/25/2025
9.0.6 69,308 6/10/2025
9.0.5 394,408 5/13/2025
9.0.4 604,599 4/8/2025
9.0.3 482,097 3/11/2025
9.0.2 724,469 2/11/2025
9.0.1 926,969 1/14/2025
9.0.0 6,491,318 11/12/2024
9.0.0-rc.2.24474.3 197,009 10/8/2024
9.0.0-rc.1.24452.1 130,443 9/10/2024
9.0.0-preview.7.24406.2 3,275 8/13/2024
9.0.0-preview.6.24328.4 87,250 7/9/2024
9.0.0-preview.5.24306.11 1,066 6/11/2024
9.0.0-preview.4.24267.6 7,907 5/21/2024
9.0.0-preview.3.24172.13 76,180 4/11/2024
9.0.0-preview.2.24128.4 21,223 3/12/2024
9.0.0-preview.1.24081.5 21,376 2/13/2024
8.0.17 73,360 6/10/2025
8.0.16 234,765 5/13/2025
8.0.15 458,230 4/8/2025
8.0.14 491,438 3/11/2025
8.0.13 596,604 2/11/2025
8.0.12 656,599 1/14/2025
8.0.11 4,178,847 11/12/2024
8.0.10 2,618,972 10/8/2024
8.0.8 2,925,607 8/13/2024
8.0.7 1,895,361 7/9/2024
8.0.6 2,854,556 5/28/2024
8.0.5 746,906 5/14/2024
8.0.4 3,933,968 4/9/2024
8.0.3 1,556,380 3/12/2024
8.0.2 1,503,379 2/13/2024
8.0.1 18,932,962 1/9/2024
8.0.0 22,408,454 11/14/2023
8.0.0-rc.2.23480.2 1,019,061 10/10/2023
8.0.0-rc.1.23421.29 97,324 9/12/2023
8.0.0-preview.7.23375.9 379,987 8/8/2023
8.0.0-preview.6.23329.11 7,628 7/11/2023
8.0.0-preview.5.23302.2 3,874 6/13/2023
8.0.0-preview.4.23260.4 255,698 5/16/2023
8.0.0-preview.3.23177.8 6,482 4/11/2023
8.0.0-preview.2.23153.2 2,330 3/14/2023
8.0.0-preview.1.23112.2 55,192 2/21/2023
7.0.20 299,492 5/28/2024
7.0.19 23,285 5/14/2024
7.0.18 108,867 4/9/2024
7.0.17 275,648 3/12/2024
7.0.16 152,579 2/13/2024
7.0.15 195,415 1/9/2024
7.0.14 642,061 11/14/2023
7.0.13 685,670 10/24/2023
7.0.12 1,418,744 10/10/2023
7.0.11 1,054,976 9/12/2023
7.0.10 2,045,375 8/8/2023
7.0.9 1,981,075 7/11/2023
7.0.8 464,731 6/22/2023
7.0.7 1,387,328 6/13/2023
7.0.5 3,620,472 4/11/2023
7.0.4 1,694,121 3/14/2023
7.0.3 2,856,528 2/14/2023
7.0.2 967,364 1/10/2023
7.0.1 579,144 12/13/2022
7.0.0 3,203,691 11/7/2022
7.0.0-rc.2.22476.2 33,029 10/11/2022
7.0.0-rc.1.22427.2 5,820 9/14/2022
7.0.0-preview.7.22376.6 5,228 8/9/2022
7.0.0-preview.6.22330.3 19,555 7/12/2022
7.0.0-preview.5.22303.8 1,542 6/14/2022
7.0.0-preview.4.22251.1 6,811 5/10/2022
7.0.0-preview.3.22178.4 1,396 4/13/2022
7.0.0-preview.2.22153.2 10,556 3/14/2022
7.0.0-preview.1.22109.13 2,675 2/17/2022
6.0.36 169,284 11/12/2024
6.0.35 66,372 10/8/2024
6.0.33 571,469 8/13/2024
6.0.32 76,805 7/9/2024
6.0.31 107,418 5/28/2024
6.0.30 53,163 5/14/2024
6.0.29 255,920 4/9/2024
6.0.28 246,783 3/12/2024
6.0.27 351,699 2/13/2024
6.0.26 282,627 1/9/2024
6.0.25 693,661 11/14/2023
6.0.24 227,202 10/24/2023
6.0.23 1,160,893 10/10/2023
6.0.22 931,107 9/12/2023
6.0.21 1,434,523 8/8/2023
6.0.20 1,187,570 7/11/2023
6.0.19 155,658 6/22/2023
6.0.18 1,002,513 6/13/2023
6.0.16 2,772,440 4/11/2023
6.0.15 1,042,297 3/14/2023
6.0.14 1,343,623 2/14/2023
6.0.13 1,229,636 1/10/2023
6.0.12 348,111 12/13/2022
6.0.11 1,198,316 11/7/2022
6.0.10 1,943,081 10/11/2022
6.0.9 1,557,021 9/13/2022
6.0.8 1,639,738 8/9/2022
6.0.7 1,791,966 7/12/2022
6.0.6 1,217,052 6/14/2022
6.0.5 2,069,127 5/10/2022
6.0.4 1,419,935 4/11/2022
6.0.3 1,385,049 3/8/2022
6.0.2 1,104,170 2/8/2022
6.0.1 3,327,024 12/14/2021
6.0.0 6,748,670 11/8/2021
6.0.0-rc.2.21480.10 15,419 10/12/2021
6.0.0-rc.1.21452.15 4,243 9/14/2021
6.0.0-preview.7.21378.6 7,353 8/10/2021
6.0.0-preview.6.21355.2 1,539 7/14/2021
6.0.0-preview.5.21301.17 1,930 6/15/2021
6.0.0-preview.4.21253.5 1,488 5/24/2021
6.0.0-preview.3.21201.13 3,034 4/8/2021
6.0.0-preview.2.21154.6 1,340 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,011 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 793,749 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 63,458 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 178,962 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 197,367 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 203,011 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 407,948 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 684,825 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 611,300 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 884,148 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 33,899,583 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 824,000 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 812,226 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 7,057,928 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 502,921 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 631,826 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,184,117 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 535,804 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 667,334 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 7,869 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,221 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,784 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,950 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,272 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,230 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,607 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,211 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,409 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,363 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 12,204,869 12/13/2022
3.1.31 713,971 11/8/2022
3.1.30 410,265 10/11/2022
3.1.29 28,101 9/13/2022
3.1.28 4,156,781 8/9/2022
3.1.27 53,421 7/12/2022
3.1.26 39,661 6/14/2022
3.1.25 40,960 5/10/2022
3.1.24 2,191,775 4/11/2022
3.1.23 390,820 3/8/2022
3.1.22 1,065,259 12/14/2021
3.1.21 389,794 11/7/2021
3.1.20 161,301 10/11/2021
3.1.19 143,859 9/14/2021
3.1.18 415,744 8/10/2021
3.1.17 349,784 7/13/2021
3.1.16 336,164 6/8/2021
3.1.15 327,609 5/11/2021
3.1.14 628,499 4/6/2021
3.1.13 318,884 3/9/2021
3.1.12 551,852 2/9/2021
3.1.11 293,843 1/12/2021
3.1.10 751,831 11/9/2020
3.1.9 1,598,480 10/13/2020
3.1.8 1,562,182 9/8/2020
3.1.7 1,245,808 8/11/2020
3.1.6 1,119,592 7/14/2020
3.1.5 1,233,856 6/9/2020
3.1.4 1,997,950 5/12/2020
3.1.3 2,132,840 3/24/2020
3.1.2 1,281,524 2/18/2020
3.1.1 1,418,261 1/14/2020
3.1.0 2,153,048 12/3/2019
3.1.0-preview3.19555.2 3,121 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 2,835 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,207 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 68,412 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 26,799 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 2,817,068 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 4,959 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 5,325 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 6,535 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 6,101 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
2.3.0 3,544,439 1/14/2025
2.2.0 243,067,667 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 139,525 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 230,462 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 55,214 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 58,303,945 6/18/2018
2.1.0 56,103,431 5/29/2018
2.1.0-rc1-final 193,859 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 259,031 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 213,522 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 13,176,035 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 13,795,526 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 23,346,322 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 62,466,498 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 115,613 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 42,009 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,828,715 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,578,191 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,618,000 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 3,511,415 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 188,263 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 870,494 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 42,980 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 231,216 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 3,275,357 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 633,355 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 9,981,303 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 246,151 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.