For some reason, Visual Studio 2017 (version 15.9.12), refuses to load ASP.Net Dotnet Core 2.2 pages in non-ssl. It automatically appends an s to http as in https://localhost:15777 even though Enable SSL is unchecked and the Launch brower path is set to http://localhost:15777 (or for Kestrel, it's set to http://localhost:55333).
The launchSettings.json file looks like so (as you can see, it's set correctly, but completely ignored).
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:15777",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "http://localhost:15777",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Nop.Web": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:55333"
}
}
}
This, didn't do this a week ago, and I've scoured posts here and there looking for an answer. Obviously, there is a bug somewhere, so I'm looking for a hack to make Visual Studio, IIS Express or Kestrel work like it's supposed to. Any ideas?