1.服務器安裝aspnetcore-runtime
下載鏈接:https://dotnet.microsoft.com/download/dotnet-core/3.1
2.安裝dotnet-hosting
下載地址:當前 .NET Core 托管捆綁包安裝程序(直接下載) https://www.microsoft.com/net/permalink/dotnetcore-current-windows-runtime-bundle-installer
3.發布項目就ok了