我正在尝试在Linux服务器(CentOS)上部署dotnet核心应用程序
我目前正在使用命令行脚本,但脚本永远不会结束,因为应用程序一直在运行
从vsts代理在Linux上运行dotnet核心应用程序的适当方法是什么?
提前致谢
答案 0 :(得分:0)
在将.net核心应用程序部署到Linux之前,您需要使用Nginx配置ASP.NET核心站点,然后将.net核心应用程序部署到Linux。
有关详细配置,您可以参考文档Host ASP.NET Core on Linux with Nginx(作为和声提及)。或者,您可以参考博客Hosting .Net Core On Linux和Deploying .NET Core To Linux。