Tridip Bhattacharjee

Tridip Bhattacharjee

  • NA
  • 1.2k
  • 77.1k

AntiForgeryToken() is there in asp.net core

Mar 14 2018 4:18 AM
i just read this one https://www.c-sharpcorner.com/article/preventing-csrf-attacks-in-asp-net-core-2-0/ but not seen author use @Html.AntiForgeryToken()
 
so out of my curiosity i like to know @Html.AntiForgeryToken() is there in asp.net core or not ?
 
why author not use @Html.AntiForgeryToken() in view like what we do when we work with asp.net mvc4/5.
 
please share the details information. thanks

Answers (2)