IIS上部署ASP.NET5程序
由于发布后的文件下面wwwroot下面web.config里面是通过httpPlatform来运行的,所有要安装HttpPlatformHandler
<httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="false" stdoutLogFile="..\logs\stdout.log" startupTimeLimit="3600"></httpPlatform>
1.现在IIS上点击获取“新的Web平台组件”

2.在WEB平台组建里面安装HttpPlatformHandler。

3.在IIS的配置编辑器里面解除System.webServer/handlers的节锁定

4.部署网站,网站的应用程序池启动无托管代码模式。


浙公网安备 33010602011771号