Anti Forgery Token and Machine Key

If working on Asp.Net MVC, you will know the anti-forgery token that helps to protect our website against cross-site request forgery. To use this feature, call the AntiForgeryToken method from a form and add the ValidateAntiForgeryToken attribute to the action method that you want to protect. Call AntiForgeryToken from a form

Add ValidateAntiForgeryToken attribute to […]