Microsoft.AspNetCore.DataProtection 2.0.0

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

// Install Microsoft.AspNetCore.DataProtection as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.DataProtection&version=2.0.0                

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

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. 
.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 (249)

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/aspnetcore/tree/4442a188f9200a57635373dcd640893c0e8dcc78

GitHub repositories (47)

Showing the top 5 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 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.
Version Downloads Last updated
9.0.1 176,674 1/14/2025
9.0.0 1,714,443 11/12/2024
9.0.0-rc.2.24474.3 105,659 10/8/2024
9.0.0-rc.1.24452.1 58,251 9/10/2024
9.0.0-preview.7.24406.2 3,107 8/13/2024
9.0.0-preview.6.24328.4 40,528 7/9/2024
9.0.0-preview.5.24306.11 893 6/11/2024
9.0.0-preview.4.24267.6 7,548 5/21/2024
9.0.0-preview.3.24172.13 75,783 4/11/2024
9.0.0-preview.2.24128.4 20,769 3/12/2024
9.0.0-preview.1.24081.5 21,237 2/13/2024
8.0.12 168,347 1/14/2025
8.0.11 1,287,293 11/12/2024
8.0.10 1,486,954 10/8/2024
8.0.8 2,074,800 8/13/2024
8.0.7 1,452,908 7/9/2024
8.0.6 2,001,549 5/28/2024
8.0.5 593,232 5/14/2024
8.0.4 2,702,030 4/9/2024
8.0.3 1,195,001 3/12/2024
8.0.2 1,218,956 2/13/2024
8.0.1 9,948,763 1/9/2024
8.0.0 18,308,818 11/14/2023
8.0.0-rc.2.23480.2 795,388 10/10/2023
8.0.0-rc.1.23421.29 78,040 9/12/2023
8.0.0-preview.7.23375.9 269,802 8/8/2023
8.0.0-preview.6.23329.11 7,553 7/11/2023
8.0.0-preview.5.23302.2 3,781 6/13/2023
8.0.0-preview.4.23260.4 192,942 5/16/2023
8.0.0-preview.3.23177.8 6,321 4/11/2023
8.0.0-preview.2.23153.2 2,162 3/14/2023
8.0.0-preview.1.23112.2 55,098 2/21/2023
7.0.20 188,654 5/28/2024
7.0.19 19,731 5/14/2024
7.0.18 96,681 4/9/2024
7.0.17 272,071 3/12/2024
7.0.16 143,860 2/13/2024
7.0.15 186,669 1/9/2024
7.0.14 622,889 11/14/2023
7.0.13 625,505 10/24/2023
7.0.12 1,298,439 10/10/2023
7.0.11 1,012,810 9/12/2023
7.0.10 1,886,128 8/8/2023
7.0.9 1,861,394 7/11/2023
7.0.8 439,728 6/22/2023
7.0.7 1,240,077 6/13/2023
7.0.5 3,294,523 4/11/2023
7.0.4 1,586,953 3/14/2023
7.0.3 2,735,244 2/14/2023
7.0.2 929,952 1/10/2023
7.0.1 558,300 12/13/2022
7.0.0 2,943,504 11/7/2022
7.0.0-rc.2.22476.2 32,652 10/11/2022
7.0.0-rc.1.22427.2 5,721 9/14/2022
7.0.0-preview.7.22376.6 5,135 8/9/2022
7.0.0-preview.6.22330.3 19,456 7/12/2022
7.0.0-preview.5.22303.8 1,448 6/14/2022
7.0.0-preview.4.22251.1 6,466 5/10/2022
7.0.0-preview.3.22178.4 1,297 4/13/2022
7.0.0-preview.2.22153.2 8,669 3/14/2022
7.0.0-preview.1.22109.13 2,529 2/17/2022
6.0.36 49,189 11/12/2024
6.0.35 41,229 10/8/2024
6.0.33 225,647 8/13/2024
6.0.32 62,334 7/9/2024
6.0.31 93,426 5/28/2024
6.0.30 42,563 5/14/2024
6.0.29 206,533 4/9/2024
6.0.28 208,359 3/12/2024
6.0.27 257,354 2/13/2024
6.0.26 260,586 1/9/2024
6.0.25 628,356 11/14/2023
6.0.24 207,590 10/24/2023
6.0.23 1,088,913 10/10/2023
6.0.22 868,342 9/12/2023
6.0.21 1,333,171 8/8/2023
6.0.20 1,140,197 7/11/2023
6.0.19 146,484 6/22/2023
6.0.18 953,493 6/13/2023
6.0.16 2,617,220 4/11/2023
6.0.15 992,754 3/14/2023
6.0.14 1,290,434 2/14/2023
6.0.13 1,161,416 1/10/2023
6.0.12 330,363 12/13/2022
6.0.11 1,126,138 11/7/2022
6.0.10 1,815,262 10/11/2022
6.0.9 1,493,205 9/13/2022
6.0.8 1,569,310 8/9/2022
6.0.7 1,682,547 7/12/2022
6.0.6 1,134,578 6/14/2022
6.0.5 1,976,983 5/10/2022
6.0.4 1,375,002 4/11/2022
6.0.3 1,325,683 3/8/2022
6.0.2 1,073,734 2/8/2022
6.0.1 3,146,865 12/14/2021
6.0.0 6,002,587 11/8/2021
6.0.0-rc.2.21480.10 14,505 10/12/2021
6.0.0-rc.1.21452.15 4,132 9/14/2021
6.0.0-preview.7.21378.6 7,252 8/10/2021
6.0.0-preview.6.21355.2 1,430 7/14/2021
6.0.0-preview.5.21301.17 1,837 6/15/2021
6.0.0-preview.4.21253.5 1,389 5/24/2021
6.0.0-preview.3.21201.13 2,926 4/8/2021
6.0.0-preview.2.21154.6 1,209 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,876 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 726,868 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 61,868 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 175,952 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 186,165 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 200,660 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 399,520 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 676,646 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 594,159 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 769,884 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 31,952,430 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 809,754 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 792,784 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 6,710,210 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 485,121 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 622,609 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,130,724 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 522,251 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 650,052 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 7,618 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 59,039 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,382 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,812 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,690 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,085 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,472 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,056 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,259 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,218 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 9,692,377 12/13/2022
3.1.31 684,284 11/8/2022
3.1.30 372,838 10/11/2022
3.1.29 27,380 9/13/2022
3.1.28 3,852,351 8/9/2022
3.1.27 52,756 7/12/2022
3.1.26 37,737 6/14/2022
3.1.25 38,537 5/10/2022
3.1.24 1,884,023 4/11/2022
3.1.23 366,051 3/8/2022
3.1.22 1,039,088 12/14/2021
3.1.21 381,221 11/7/2021
3.1.20 159,329 10/11/2021
3.1.19 140,207 9/14/2021
3.1.18 410,149 8/10/2021
3.1.17 337,339 7/13/2021
3.1.16 328,483 6/8/2021
3.1.15 317,147 5/11/2021
3.1.14 623,384 4/6/2021
3.1.13 306,386 3/9/2021
3.1.12 540,631 2/9/2021
3.1.11 286,555 1/12/2021
3.1.10 743,419 11/9/2020
3.1.9 1,555,775 10/13/2020
3.1.8 1,531,973 9/8/2020
3.1.7 1,230,076 8/11/2020
3.1.6 1,084,414 7/14/2020
3.1.5 1,201,217 6/9/2020
3.1.4 1,931,596 5/12/2020
3.1.3 2,047,887 3/24/2020
3.1.2 1,252,537 2/18/2020
3.1.1 1,387,565 1/14/2020
3.1.0 2,041,039 12/3/2019
3.1.0-preview3.19555.2 2,978 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 2,694 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,064 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 66,796 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 26,434 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 2,713,507 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 4,817 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 5,177 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 6,391 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 5,952 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
2.3.0 123,157 1/14/2025
2.2.0 223,691,793 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 137,017 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 227,906 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 54,554 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 53,966,823 6/18/2018
2.1.0 54,036,904 5/29/2018
2.1.0-rc1-final 193,100 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 258,436 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 212,650 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 12,740,428 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 13,525,108 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 22,731,819 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 60,106,545 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 114,378 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 41,389 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,726,789 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,475,156 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,539,774 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 3,361,514 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 187,720 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 820,576 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 38,702 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 183,284 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 3,172,368 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 629,156 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 9,541,740 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 242,651 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.