Microsoft.AspNetCore.Antiforgery 2.2.0

.NET Standard 2.0
Install-Package Microsoft.AspNetCore.Antiforgery -Version 2.2.0
dotnet add package Microsoft.AspNetCore.Antiforgery --version 2.2.0
<PackageReference Include="Microsoft.AspNetCore.Antiforgery" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Antiforgery --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.AspNetCore.Antiforgery, 2.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.AspNetCore.Antiforgery as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Antiforgery&version=2.2.0

// Install Microsoft.AspNetCore.Antiforgery as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Antiforgery&version=2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 code at https://github.com/aspnet/Antiforgery/tree/9e5146cff912ebbd003d597eb055144e740759fa

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Microsoft.AspNetCore.Antiforgery:

Package Downloads
Microsoft.AspNetCore.Mvc.ViewFeatures

ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. Commonly used types: Microsoft.AspNetCore.Mvc.Controller Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute Microsoft.AspNetCore.Mvc.ViewComponent This package was built from the source code at https://github.com/aspnet/Mvc/tree/a6199bbfbab05583f987bae322fb04566841aaea

Microsoft.AspNetCore.All

Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Microsoft.AspNetCore.App

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Version Downloads Last updated
2.2.0 0 06.02.2022
2.1.1 0 06.02.2022
2.0.3 0 06.02.2022
2.0.2 0 06.02.2022
2.0.0 0 06.02.2022
1.0.0 0 06.02.2022