Skip to main content
Microsoft.AspNetCore.Antiforgery package icon

Microsoft.AspNetCore.Antiforgery

An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks. This package was built from the source at: https://github.com/aspnet/Antiforgery/tree/8a8a09bcf50efe8a6afe17d54d4fc16960cc6855

Total Downloads
385.5M
385,528,590
Published
Oct 17, 2018
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.AspNetCore.Antiforgery --version 2.2.0-preview3-35497
Package Manager Console
Install-Package Microsoft.AspNetCore.Antiforgery -Version 2.2.0-preview3-35497
PackageReference
<PackageReference Include="Microsoft.AspNetCore.Antiforgery" Version="2.2.0-preview3-35497" />

Frameworks

.NETStandard2.0

Dependencies

[2.2.0-preview3-35497, )
[2.2.0-preview3-35497, )
[2.2.0-preview3-35497, )
[2.2.0-preview3-35497, )
[2.2.0-preview3-35497, )

Adoption guide

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

This version is marked prerelease. Validate its API and upgrade path before production use.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

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.