BstAntiForgery 10.0.1

How to use

It is used when anti-forgery is defined
It needs

[ValidateAntiForgeryToken]

_ViewImports.cshtml:

@addTagHelper *, BstAntiForgery

Program.cs:
Configure antiforgery and honey pot services

services.ConfigureAntiForgery()

Insert before map controllers
Insert after other middlewares but before redirect middlewares

app.AddAntiForgery();

No packages depend on BstAntiForgery.

.NET 10.0

  • No dependencies.

Version Downloads Last updated
10.0.1 9 11/11/2025
9.0.4 8 20/10/2025
9.0.3 3 20/10/2025
9.0.2 3 15/10/2025
9.0.1 42 16/02/2025