1.下载 .Net Core Runtime 和 Hosting Bundle

    下载地址:https://dotnet.microsoft.com/download/dotnet-core

    分别下载 Runtime for Windows x64(x86)  和 Hosting Bundle,并安装。

IIS 上部署 ASP.NET Core 应用程序

2. 在 IIS 中查看 Hosting Bundle 是否安装成功

    检查 IIS “模块” 中是否有 “AspNetCoreModule”

3. 应用程序池设置

    将 .NET CLR 版本设置为:无托管代码

    将托管管道模式设置为:经典

4. 网站设置

    将网站的应用程序池设置为 “ 无托管代码(.NET CLR 版本)” 的应用程序池

    将网站的物理路径指向 ASP.NET 应用程序的根目录

5. 应用程序文件夹权限设置

    将 ASP.NET Core 应用程序文件夹权限设置为:Users 完全控制

相关文章:

  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2021-08-12
  • 2022-12-23
猜你喜欢
  • 2022-02-28
  • 2021-06-03
  • 2021-05-29
  • 2022-01-06
  • 2021-07-10
相关资源
相似解决方案