What is the use of AntiForgeryToken() in Asp.Net MVC?
Komara Reddy
By using AntiForgeryToken(), We can prevent the XSRF(Cross Site Request Forgery) in MVC.
By using AntiForgeryToken(), we can prevent the XSS(Cross site scripting)@using(Html.BeginForm()) {@Html.AntiForgeryToken() }