.NET Core webapi 发布到IIS配置文件
时间:2018-04-13 18:36:05
收藏:0
阅读:707
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
评论(0)