首页 > Windows开发 > 详细

.net core webapi发布

时间:2019-04-30 23:12:23      阅读:357      评论:0      收藏:0      [点我收藏+]

地址:https://www.cnblogs.com/laozhang-is-phi/p/9565227.html#autoid-5-1-0 

地址2:https://www.cnblogs.com/freeliver54/p/6879696.html

iis问题:

地址:http://123.206.33.109:7090/.NetCore

遇到的问题:(An error occurred while starting the application.)

1.xml文件

解决:在xxx.csproj中添加以下代码段

<PropertyGroup>
  <GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

技术分享图片

2.日志问题

节点:替换web.config文件中以下节点

<aspNetCore processPath="dotnet" arguments=".\appAPI.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="InProcess" />

新建logs文件夹

3.解耦问题

复制解耦的dll文件即可

 

.net core webapi发布

原文:https://www.cnblogs.com/newrohlzy/p/10798271.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!