Water Cooler v2
Water Cooler v2

Reputation: 33850

ASP.NET MVC web application not running with HTTPS

After all these months, suddenly, my ASP.NET MVC application runs on HTTP instead of HTTPS in the debugger.

When I run it by clicking pressing F5 in Visual Studio or by clicking Debug -> Start Debugging, it runs with an http:// scheme and not https, like it had been running for all the months up until now.

I am using Visual Studio Community 2015 RTM.

Long ago, when I created this project, I had changed its project properties and set SSL Enabled to True and also set the SSL URL as follows:

enter image description here

I am not sure what changed in that or in the Project Properties dialog, which now looks as follows.

enter image description here

Upvotes: 1

Views: 1994

Answers (1)

Vladimir Svyatski
Vladimir Svyatski

Reputation: 490

In the Web tab > Project Url, try to specify your HTTPS address instead of HTTP. That may do the trick.

Upvotes: 2

Related Questions