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/aspnetcore/tree/57512b49997283599b00a6b67d0ccebaec171daf

Total Downloads
1.1B
1,094,784,804
Published
Oct 10, 2023
Latest stable version

Install

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

Frameworks

.NETFramework4.6.2 net7.0 .NETStandard2.0

Dependencies

[7.0.12, )
[7.0.0, )
[7.0.1, )
[7.0.1, )
Microsoft.Win32.Registry
.NETFramework4.6.2
[5.0.0, )
[7.0.1, )
[7.0.1, )
[5.0.0, )
[7.0.1, )
[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.

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.