ASP.NET Core MVC 项目在IIS中部署


引用网址:

一、vs中把MVC项目以文件系统发布、设置保存的路径

二、安装.NET Core 3.1 Runtime

  网址:https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-3.1.5-windows-x64-installer

 三、安装AspNetCoreModule

  网址:https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.5-windows-hosting-bundle-installer

  具体更新网址:https://dotnet.microsoft.com/download#windows

  检查.NET Core模块是否安装

  有AspNetCoreModule就说明模块已安装好了

 四、IIS发布网址成功后在应用程序池设置无托管代码

 五、浏览网站