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
dotnet add package Microsoft.AspNetCore.Antiforgery --version 2.2.0
NuGet\Install-Package Microsoft.AspNetCore.Antiforgery -Version 2.2.0
<PackageReference Include="Microsoft.AspNetCore.Antiforgery" Version="2.2.0" />
paket add Microsoft.AspNetCore.Antiforgery --version 2.2.0
#r "nuget: Microsoft.AspNetCore.Antiforgery, 2.2.0"
// 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
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 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.|
|.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.|
NuGet packages (35)
Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Antiforgery:
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
ASP.NET Core support for Hangfire (background job system for ASP.NET applications).
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.
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.
Provides some common functions, such as navigation tree, to build Web applications easily.
GitHub repositories (12)
Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Antiforgery:
An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
A simple, cross platform, modularized ecommerce system built on .NET Core
Vulnerability Patterns Detector for C# and VB.NET
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统