1.下载安装文件
DotNetCore.1.0.0-WindowsHosting.exe
dotnet-sdk-2.1.101-win-x64.exe
2.检查IIS是否包含AspNetCoreModule处理映射程序
3.发布网站
4.网站web.config配置如下节点
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
</system.webServer>
原文地址:https://www.cnblogs.com/morpheusliu/p/8822588.html
时间: 2024-10-08 02:46:16