vsts在Linux

时间:2018-06-14 14:20:38

标签: c# .net-core azure-devops release

我正在尝试在Linux服务器(CentOS)上部署dotnet核心应用程序

我目前正在使用命令行脚本,但脚本永远不会结束,因为应用程序一直在运行

从vsts代理在Linux上运行dotnet核心应用程序的适当方法是什么?

enter image description here

提前致谢

1 个答案:

答案 0 :(得分:0)

在将.net核心应用程序部署到Linux之前,您需要使用Nginx配置ASP.NET核心站点,然后将.net核心应用程序部署到Linux。

有关详细配置,您可以参考文档Host ASP.NET Core on Linux with Nginx(作为和声提及)。或者,您可以参考博客Hosting .Net Core On LinuxDeploying .NET Core To Linux