netcore web程序在本地可以運行
netcore在iis上發佈時出問題,是因爲asp.net core runtime ,net core runtime 和net core 4 windowshost這三個東西需要安裝版本一致纔可以。具體安裝版本可在:https://dotnet.microsoft.com/download/dotnet-core/2.2 找到。host:https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-2.2.6-windows-hosting-bundle-installer