Microsoft.AspNetCore.DataProtection 2.1.0-preview1-final

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

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

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/44525024595742ebe09023abe709df51de65009b

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.
tareqimbasher/NetPad
A cross-platform C# editor and playground.
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
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.2 123,598 1/13/2026
10.0.1 412,824 12/9/2025
10.0.0 1,782,907 11/11/2025
10.0.0-rc.2.25502.107 16,204 10/14/2025
10.0.0-rc.1.25451.107 17,610 9/9/2025
10.0.0-preview.7.25380.108 4,264 8/12/2025
10.0.0-preview.6.25358.103 962 7/15/2025
10.0.0-preview.5.25277.114 1,979 6/6/2025
10.0.0-preview.4.25258.110 2,303 5/12/2025
10.0.0-preview.3.25172.1 2,456 4/10/2025
10.0.0-preview.2.25164.1 3,339 3/18/2025
10.0.0-preview.1.25120.3 135,865 2/25/2025
9.0.12 26,257 1/13/2026
9.0.11 369,483 11/11/2025
9.0.10 998,603 10/14/2025
9.0.9 1,270,771 9/9/2025
9.0.8 1,215,590 8/5/2025
9.0.7 911,996 7/8/2025
9.0.6 1,169,751 6/10/2025
9.0.5 1,051,257 5/13/2025
9.0.4 1,183,378 4/8/2025
9.0.3 958,600 3/11/2025
9.0.2 1,234,266 2/11/2025
9.0.1 1,731,576 1/14/2025
9.0.0 16,886,160 11/12/2024
9.0.0-rc.2.24474.3 291,662 10/8/2024
9.0.0-rc.1.24452.1 186,854 9/10/2024
9.0.0-preview.7.24406.2 6,402 8/13/2024
9.0.0-preview.6.24328.4 185,215 7/9/2024
9.0.0-preview.5.24306.11 1,324 6/11/2024
9.0.0-preview.4.24267.6 8,346 5/21/2024
9.0.0-preview.3.24172.13 76,678 4/11/2024
9.0.0-preview.2.24128.4 21,736 3/12/2024
9.0.0-preview.1.24081.5 21,559 2/13/2024
8.0.23 25,203 1/13/2026
8.0.22 1,014,945 11/11/2025
8.0.21 467,423 10/14/2025
8.0.20 462,114 9/9/2025
8.0.19 1,216,497 8/4/2025
8.0.18 433,664 7/8/2025
8.0.17 1,318,746 6/10/2025
8.0.16 3,329,833 5/13/2025
8.0.15 1,198,487 4/8/2025
8.0.14 926,883 3/11/2025
8.0.13 1,154,897 2/11/2025
8.0.12 1,285,059 1/14/2025
8.0.11 8,885,840 11/12/2024
8.0.10 4,167,822 10/8/2024
8.0.8 4,091,732 8/13/2024
8.0.7 2,631,523 7/9/2024
8.0.6 4,281,906 5/28/2024
8.0.5 1,090,835 5/14/2024
8.0.4 6,059,805 4/9/2024
8.0.3 2,128,427 3/12/2024
8.0.2 2,075,019 2/13/2024
8.0.1 34,560,016 1/9/2024
8.0.0 27,996,028 11/14/2023
8.0.0-rc.2.23480.2 1,336,517 10/10/2023
8.0.0-rc.1.23421.29 141,602 9/12/2023
8.0.0-preview.7.23375.9 528,309 8/8/2023
8.0.0-preview.6.23329.11 7,800 7/11/2023
8.0.0-preview.5.23302.2 4,064 6/13/2023
8.0.0-preview.4.23260.4 266,443 5/16/2023
8.0.0-preview.3.23177.8 6,719 4/11/2023
8.0.0-preview.2.23153.2 2,524 3/14/2023
8.0.0-preview.1.23112.2 55,393 2/21/2023
7.0.20 583,838 5/28/2024
7.0.19 171,355 5/14/2024
7.0.18 260,095 4/9/2024
7.0.17 423,673 3/12/2024
7.0.16 303,082 2/13/2024
7.0.15 345,698 1/9/2024
7.0.14 803,071 11/14/2023
7.0.13 890,804 10/24/2023
7.0.12 1,665,103 10/10/2023
7.0.11 1,250,495 9/12/2023
7.0.10 2,347,341 8/8/2023
7.0.9 2,267,511 7/11/2023
7.0.8 634,877 6/22/2023
7.0.7 1,697,771 6/13/2023
7.0.5 4,181,847 4/11/2023
7.0.4 1,971,255 3/14/2023
7.0.3 3,127,719 2/14/2023
7.0.2 1,162,063 1/10/2023
7.0.1 750,637 12/13/2022
7.0.0 3,663,909 11/7/2022
7.0.0-rc.2.22476.2 33,452 10/11/2022
7.0.0-rc.1.22427.2 6,013 9/14/2022
7.0.0-preview.7.22376.6 5,422 8/9/2022
7.0.0-preview.6.22330.3 19,789 7/12/2022
7.0.0-preview.5.22303.8 1,733 6/14/2022
7.0.0-preview.4.22251.1 7,148 5/10/2022
7.0.0-preview.3.22178.4 1,601 4/13/2022
7.0.0-preview.2.22153.2 12,667 3/14/2022
7.0.0-preview.1.22109.13 2,875 2/17/2022
6.0.36 508,590 11/12/2024
6.0.35 258,683 10/8/2024
6.0.33 1,237,024 8/13/2024
6.0.32 239,726 7/9/2024
6.0.31 265,221 5/28/2024
6.0.30 209,814 5/14/2024
6.0.29 444,462 4/9/2024
6.0.28 436,272 3/12/2024
6.0.27 591,643 2/13/2024
6.0.26 464,411 1/9/2024
6.0.25 926,385 11/14/2023
6.0.24 400,759 10/24/2023
6.0.23 1,358,106 10/10/2023
6.0.22 1,151,842 9/12/2023
6.0.21 1,696,486 8/8/2023
6.0.20 1,371,789 7/11/2023
6.0.19 311,556 6/22/2023
6.0.18 1,196,347 6/13/2023
6.0.16 3,104,016 4/11/2023
6.0.15 1,234,197 3/14/2023
6.0.14 1,539,701 2/14/2023
6.0.13 1,453,842 1/10/2023
6.0.12 520,663 12/13/2022
6.0.11 1,392,079 11/7/2022
6.0.10 2,268,674 10/11/2022
6.0.9 1,771,064 9/13/2022
6.0.8 1,860,352 8/9/2022
6.0.7 2,046,469 7/12/2022
6.0.6 1,438,872 6/14/2022
6.0.5 2,326,800 5/10/2022
6.0.4 1,618,601 4/11/2022
6.0.3 1,599,655 3/8/2022
6.0.2 1,306,118 2/8/2022
6.0.1 3,775,429 12/14/2021
6.0.0 7,762,299 11/8/2021
6.0.0-rc.2.21480.10 17,068 10/12/2021
6.0.0-rc.1.21452.15 4,456 9/14/2021
6.0.0-preview.7.21378.6 7,726 8/10/2021
6.0.0-preview.6.21355.2 1,744 7/14/2021
6.0.0-preview.5.21301.17 2,115 6/15/2021
6.0.0-preview.4.21253.5 1,688 5/24/2021
6.0.0-preview.3.21201.13 3,234 4/8/2021
6.0.0-preview.2.21154.6 1,602 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,276 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 1,011,263 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 210,353 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 326,458 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 358,375 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 351,002 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 562,618 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 838,340 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 772,656 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 1,266,981 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 36,576,434 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 984,168 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 985,588 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 8,099,710 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 677,284 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 788,940 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,380,172 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 706,531 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 835,274 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 8,208 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 66,037 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,449 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,226 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 5,376 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,504 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,871 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,503 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,684 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,631 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 16,012,228 12/13/2022
3.1.31 894,305 11/8/2022
3.1.30 600,887 10/11/2022
3.1.29 174,525 9/13/2022
3.1.28 4,746,676 8/9/2022
3.1.27 200,021 7/12/2022
3.1.26 187,530 6/14/2022
3.1.25 188,523 5/10/2022
3.1.24 2,796,915 4/11/2022
3.1.23 572,830 3/8/2022
3.1.22 1,260,465 12/14/2021
3.1.21 543,300 11/7/2021
3.1.20 309,293 10/11/2021
3.1.19 295,003 9/14/2021
3.1.18 570,680 8/10/2021
3.1.17 506,534 7/13/2021
3.1.16 494,023 6/8/2021
3.1.15 482,404 5/11/2021
3.1.14 780,606 4/6/2021
3.1.13 475,792 3/9/2021
3.1.12 714,614 2/9/2021
3.1.11 448,949 1/12/2021
3.1.10 915,012 11/9/2020
3.1.9 1,817,170 10/13/2020
3.1.8 1,746,278 9/8/2020
3.1.7 1,417,516 8/11/2020
3.1.6 1,308,463 7/14/2020
3.1.5 1,425,865 6/9/2020
3.1.4 2,242,993 5/12/2020
3.1.3 2,431,223 3/24/2020
3.1.2 1,456,308 2/18/2020
3.1.1 1,604,072 1/14/2020
3.1.0 2,444,958 12/3/2019
3.1.0-preview3.19555.2 3,822 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 3,108 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,496 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 215,979 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 173,099 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 3,123,421 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 5,223 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 5,593 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 7,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,836 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
2.3.9 582 1/7/2026
2.3.8 205 1/6/2026
2.3.0 15,643,843 1/14/2025
2.2.0 272,935,833 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 142,107 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 235,907 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 57,508 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 64,993,223 6/18/2018
2.1.0 59,364,577 5/29/2018
2.1.0-rc1-final 207,305 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 278,408 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 224,020 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 13,906,870 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 14,404,143 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 24,557,372 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 66,251,584 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 119,758 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 43,327 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 3,176,386 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,871,671 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,869,569 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 3,876,339 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 190,030 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 1,064,258 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 193,865 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 473,694 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 3,544,908 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 786,387 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 10,831,939 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 256,852 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.