Microsoft.AspNetCore.DataProtection 5.0.5

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

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.5
                    
NuGet\Install-Package Microsoft.AspNetCore.DataProtection -Version 5.0.5
                    
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.5" />
                    
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.5" />
                    
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.5
                    
#r "nuget: Microsoft.AspNetCore.DataProtection, 5.0.5"
                    
#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@5.0.5
                    
#: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=5.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.DataProtection&version=5.0.5
                    
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/b7a2ec8c7ed6b48857af0a69688a73e8c14fe6cb

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 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 (277)

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

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, 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.
tareqimbasher/NetPad
A cross-platform C# editor and playground.
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
iioter/iotgateway
An industrial IoTGateway with B/S architecture that enables bidirectional communication between industrial devices (southbound connections) and IoT platforms (northbound connections). It supports numerous industrial protocols, and can connect to various IoT cloud platforms.
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亿调用量
streetwriters/notesnook-sync-server
Sync server for Notesnook (self-hosting in alpha)
AzureAD/microsoft-identity-web
Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
Version Downloads Last Updated
10.0.0 18,362 11/11/2025
10.0.0-rc.2.25502.107 14,813 10/14/2025
10.0.0-rc.1.25451.107 16,626 9/9/2025
10.0.0-preview.7.25380.108 3,849 8/12/2025
10.0.0-preview.6.25358.103 894 7/15/2025
10.0.0-preview.5.25277.114 1,797 6/6/2025
10.0.0-preview.4.25258.110 2,167 5/12/2025
10.0.0-preview.3.25172.1 2,266 4/10/2025
10.0.0-preview.2.25164.1 2,580 3/18/2025
10.0.0-preview.1.25120.3 107,457 2/25/2025
9.0.11 17,606 11/11/2025
9.0.10 463,651 10/14/2025
9.0.9 840,073 9/9/2025
9.0.8 886,057 8/5/2025
9.0.7 663,753 7/8/2025
9.0.6 895,385 6/10/2025
9.0.5 800,861 5/13/2025
9.0.4 957,839 4/8/2025
9.0.3 754,435 3/11/2025
9.0.2 1,028,591 2/11/2025
9.0.1 1,454,300 1/14/2025
9.0.0 13,428,942 11/12/2024
9.0.0-rc.2.24474.3 256,768 10/8/2024
9.0.0-rc.1.24452.1 167,943 9/10/2024
9.0.0-preview.7.24406.2 4,334 8/13/2024
9.0.0-preview.6.24328.4 144,579 7/9/2024
9.0.0-preview.5.24306.11 1,238 6/11/2024
9.0.0-preview.4.24267.6 8,264 5/21/2024
9.0.0-preview.3.24172.13 76,475 4/11/2024
9.0.0-preview.2.24128.4 21,497 3/12/2024
9.0.0-preview.1.24081.5 21,492 2/13/2024
8.0.22 7,733 11/11/2025
8.0.21 144,106 10/14/2025
8.0.20 240,571 9/9/2025
8.0.19 878,234 8/4/2025
8.0.18 244,040 7/8/2025
8.0.17 1,125,243 6/10/2025
8.0.16 1,997,484 5/13/2025
8.0.15 875,756 4/8/2025
8.0.14 708,174 3/11/2025
8.0.13 930,930 2/11/2025
8.0.12 1,027,147 1/14/2025
8.0.11 7,338,880 11/12/2024
8.0.10 3,610,168 10/8/2024
8.0.8 3,677,178 8/13/2024
8.0.7 2,303,463 7/9/2024
8.0.6 3,801,838 5/28/2024
8.0.5 915,984 5/14/2024
8.0.4 5,288,093 4/9/2024
8.0.3 1,878,720 3/12/2024
8.0.2 1,808,123 2/13/2024
8.0.1 29,345,655 1/9/2024
8.0.0 26,181,751 11/14/2023
8.0.0-rc.2.23480.2 1,243,427 10/10/2023
8.0.0-rc.1.23421.29 126,109 9/12/2023
8.0.0-preview.7.23375.9 486,263 8/8/2023
8.0.0-preview.6.23329.11 7,748 7/11/2023
8.0.0-preview.5.23302.2 4,005 6/13/2023
8.0.0-preview.4.23260.4 263,669 5/16/2023
8.0.0-preview.3.23177.8 6,652 4/11/2023
8.0.0-preview.2.23153.2 2,466 3/14/2023
8.0.0-preview.1.23112.2 55,329 2/21/2023
7.0.20 419,314 5/28/2024
7.0.19 47,132 5/14/2024
7.0.18 135,530 4/9/2024
7.0.17 299,181 3/12/2024
7.0.16 178,857 2/13/2024
7.0.15 220,912 1/9/2024
7.0.14 675,245 11/14/2023
7.0.13 751,587 10/24/2023
7.0.12 1,514,589 10/10/2023
7.0.11 1,112,840 9/12/2023
7.0.10 2,184,580 8/8/2023
7.0.9 2,100,384 7/11/2023
7.0.8 503,032 6/22/2023
7.0.7 1,528,146 6/13/2023
7.0.5 3,937,095 4/11/2023
7.0.4 1,811,909 3/14/2023
7.0.3 2,965,159 2/14/2023
7.0.2 1,025,109 1/10/2023
7.0.1 620,055 12/13/2022
7.0.0 3,453,456 11/7/2022
7.0.0-rc.2.22476.2 33,349 10/11/2022
7.0.0-rc.1.22427.2 5,961 9/14/2022
7.0.0-preview.7.22376.6 5,369 8/9/2022
7.0.0-preview.6.22330.3 19,714 7/12/2022
7.0.0-preview.5.22303.8 1,672 6/14/2022
7.0.0-preview.4.22251.1 7,050 5/10/2022
7.0.0-preview.3.22178.4 1,538 4/13/2022
7.0.0-preview.2.22153.2 12,042 3/14/2022
7.0.0-preview.1.22109.13 2,816 2/17/2022
6.0.36 319,366 11/12/2024
6.0.35 123,828 10/8/2024
6.0.33 932,008 8/13/2024
6.0.32 109,345 7/9/2024
6.0.31 138,455 5/28/2024
6.0.30 82,555 5/14/2024
6.0.29 310,168 4/9/2024
6.0.28 297,511 3/12/2024
6.0.27 440,754 2/13/2024
6.0.26 328,821 1/9/2024
6.0.25 784,015 11/14/2023
6.0.24 266,500 10/24/2023
6.0.23 1,222,577 10/10/2023
6.0.22 1,003,801 9/12/2023
6.0.21 1,535,700 8/8/2023
6.0.20 1,237,496 7/11/2023
6.0.19 184,813 6/22/2023
6.0.18 1,058,765 6/13/2023
6.0.16 2,922,662 4/11/2023
6.0.15 1,096,898 3/14/2023
6.0.14 1,400,653 2/14/2023
6.0.13 1,305,005 1/10/2023
6.0.12 388,430 12/13/2022
6.0.11 1,254,639 11/7/2022
6.0.10 2,112,282 10/11/2022
6.0.9 1,628,567 9/13/2022
6.0.8 1,718,555 8/9/2022
6.0.7 1,892,688 7/12/2022
6.0.6 1,290,412 6/14/2022
6.0.5 2,172,053 5/10/2022
6.0.4 1,482,297 4/11/2022
6.0.3 1,455,293 3/8/2022
6.0.2 1,157,377 2/8/2022
6.0.1 3,563,323 12/14/2021
6.0.0 7,401,345 11/8/2021
6.0.0-rc.2.21480.10 16,586 10/12/2021
6.0.0-rc.1.21452.15 4,392 9/14/2021
6.0.0-preview.7.21378.6 7,661 8/10/2021
6.0.0-preview.6.21355.2 1,675 7/14/2021
6.0.0-preview.5.21301.17 2,062 6/15/2021
6.0.0-preview.4.21253.5 1,621 5/24/2021
6.0.0-preview.3.21201.13 3,173 4/8/2021
6.0.0-preview.2.21154.6 1,520 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,196 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 870,708 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 86,372 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 202,151 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 228,800 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 226,700 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 436,916 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 713,116 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 646,315 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 1,058,434 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 35,728,494 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 857,237 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 855,671 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 7,828,401 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 544,379 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 663,340 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,242,670 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 575,355 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 706,538 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 8,119 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 65,113 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 24,316 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 3,140 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,938 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,429 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,783 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,415 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,601 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,550 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 14,752,939 12/13/2022
3.1.31 760,460 11/8/2022
3.1.30 463,731 10/11/2022
3.1.29 50,635 9/13/2022
3.1.28 4,478,351 8/9/2022
3.1.27 76,093 7/12/2022
3.1.26 63,197 6/14/2022
3.1.25 64,430 5/10/2022
3.1.24 2,529,453 4/11/2022
3.1.23 431,916 3/8/2022
3.1.22 1,118,756 12/14/2021
3.1.21 417,722 11/7/2021
3.1.20 185,046 10/11/2021
3.1.19 169,324 9/14/2021
3.1.18 443,284 8/10/2021
3.1.17 379,575 7/13/2021
3.1.16 367,941 6/8/2021
3.1.15 356,648 5/11/2021
3.1.14 654,952 4/6/2021
3.1.13 348,389 3/9/2021
3.1.12 586,321 2/9/2021
3.1.11 322,390 1/12/2021
3.1.10 786,421 11/9/2020
3.1.9 1,675,584 10/13/2020
3.1.8 1,612,232 9/8/2020
3.1.7 1,285,264 8/11/2020
3.1.6 1,172,041 7/14/2020
3.1.5 1,287,630 6/9/2020
3.1.4 2,085,301 5/12/2020
3.1.3 2,262,789 3/24/2020
3.1.2 1,324,445 2/18/2020
3.1.1 1,468,826 1/14/2020
3.1.0 2,277,777 12/3/2019
3.1.0-preview3.19555.2 3,744 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 3,025 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,407 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 91,761 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 49,197 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 2,946,411 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 5,147 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 5,521 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 7,456 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 6,754 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
2.3.0 10,845,494 1/14/2025
2.2.0 264,053,816 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 141,667 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 234,508 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 57,028 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 62,879,141 6/18/2018
2.1.0 58,290,075 5/29/2018
2.1.0-rc1-final 205,373 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 276,590 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 222,923 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 13,621,898 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 14,172,730 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 24,147,974 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 65,028,997 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 119,244 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 43,054 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,988,796 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,723,779 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,735,209 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 3,702,422 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 189,793 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 925,942 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 69,544 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 317,557 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 3,394,880 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 660,959 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 10,512,427 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 254,505 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.