Here Mudassar Khan has explained explain with an example, how to use ValidateAntiForgeryToken attribute in ASP.Net MVC.
When a method is decorated with ValidateAntiForgeryToken attribute, it then validates all requests using the AntiForgeryToken in ASP.Net MVC.