My site requires https , but when I launch my ASP.NET MVC website from Visual Studio, it loads in http .
When I go to a page that requires https , on the controller with the [RequireHttps] attribute, it does not know that the version of the https site is running on port 44300, so it just tries to redirect to https: // localhost / login (default port).
Am I missing some kind of configuration? I have SSL Enabled = true in the MVC project properties.
I just want to be able to navigate my site as usual, as if it was hosted on my server
Is it possible?
Luke source share