Reputation: 4443
I have IIS on my development machine and I host default asp.net 4.5 website and .NET core application.
Applications are configured to work only via https. And sometimes, without any pattern "https" disappears from the configuration list. In this cases I add it manually but this is really annoing.
Any clues who can remove this binding all the time?
Upvotes: 9
Views: 1672
Reputation: 349
Open launchSettings.Json and set the sslPort for iis to 443
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iis": {
"applicationUrl": "http://localhost/",
"sslPort": 443
},
"iisExpress": {
"applicationUrl": "http://localhost:54633",
"sslPort": 0
}
},
Upvotes: 13