1、安装托管模块AspNetCoreModule dotnet-runtime和dotnet-hosting 安装成功后IIS模块里会有一个AspNetCoreModuleV2模块 托管模块下载 2、项目发布 3、IIS添加网站