Skip to main content
Microsoft.AspNetCore.DataProtection package icon

Microsoft.AspNetCore.DataProtection

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

Total Downloads
1.1B
1,095,102,724
Published
Nov 11, 2025
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.AspNetCore.DataProtection --version 10.0.0
Package Manager Console
Install-Package Microsoft.AspNetCore.DataProtection -Version 10.0.0
PackageReference
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="10.0.0" />

Frameworks

.NETFramework4.6.2 net10.0 .NETStandard2.0

Dependencies

[10.0.0, )
[10.0.0, )
[10.0.0, )
[10.0.0, )
Microsoft.Win32.Registry
.NETFramework4.6.2
[5.0.0, )
[10.0.0, )
[10.0.0, )
[5.0.0, )
[10.0.0, )
[5.0.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Published vulnerability advisories exist for this version. Read the advisory and choose a remediated version before release.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

The published metadata declares 25 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.