Asp.net
IIS https 綁定有時會消失
我的開發機器上有 IIS,我託管預設的 asp.net 4.5 網站和 .NET 核心應用程序。
應用程序配置為僅通過 https 工作。有時,沒有任何模式的“https”會從配置列表中消失。在這種情況下,我手動添加它,但這真的很煩人。
有什麼線索可以一直移除這個綁定嗎?
打開 launchSettings.Json 並將 iis 的 sslPort 設置為 443
"iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, "iis": { "applicationUrl": "http://localhost/", "sslPort": 443 }, "iisExpress": { "applicationUrl": "http://localhost:54633", "sslPort": 0 } },
