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.部署网站,网站的应用程序池启动无托管代码模式。

posted @ 2016-04-25 19:29  汪汪汪~~  阅读(3600)  评论(0编辑  收藏  举报