默认方式安装IIS后,从官方网站下载IIS模块
https://dotnet.microsoft.com/download/dotnet-core/3.1
2个都需要安装
安装后,新建网站指向发布的磁盘物理位置
新建网站后会出现在应用程序池同网站一样的程序池,修改.net CLR版本为无托管代码