I am using Membership.create user function, then the following error is occurring,
Membership.create
The required anti-forgery form field \"__RequestVerifi
Like this:
[HttpPost] [ValidateAntiForgeryToken] public ActionResult MethodName(FormCollection formCollection) { ... Code Block ... }
@using(Html.BeginForm()) { @Html.AntiForgeryToken() <input name="..." type="text" /> // rest }