Reputation: 62
How can I remove SSL from my asp.net mvc site in Visual Studio?
When I change SSL from True
to False
it shows this error:
Upvotes: 3
Views: 5789
Reputation: 872
Upvotes: 2
Reputation: 65
Try this. Have a look in your FilterConfig.cs file and remove the line that says. filters.Add(new RequireHttpsAttribute()); Line.
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
filters.Add(new System.Web.Mvc.AuthorizeAttribute());
filters.Add(new RequireHttpsAttribute());
}
Upvotes: 0