.Net core 部署到IIS出现500.19Internal Server Error 解决方法

.Net core 部署到IIS,网页出现500.19Internal Server Error 解决方法

解决方法

在URL:https://dotnet.microsoft.com/zh-tw/download/dotnet/8.0

下载并安装dotnet-hosting-8.0.18-win.exe

重启IIS服务器