@inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Antiforgery @{ var token = Antiforgery.GetAndStoreTokens(Context).RequestToken; }