Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Disable SSL on asp.net MVC5?

So i was trying something and enabled SSL on my mvc5 project. Now i want to disable it, but whenever i run my project, the web site cannot be found (the url is different from the ssl one ofc). Any idea how to turn ssl back off ?

like image 238
Pedro Costa Avatar asked Feb 03 '15 15:02

Pedro Costa


1 Answers

All of the above sound plausible, and none of them works for me! I have no strange filters, no RequireHttps decorations and no https ports. So my current only fix is to change the project property:

enter image description here

I can then happily debug and browse my test website. But if I exit Visual Studio and go back in, I have to reset the SSL enabled property again!

So this is only half an answer, but thought it might help someone ...

like image 64
Andy Brown Avatar answered Sep 28 '22 18:09

Andy Brown