ASP.NET Core 2 + Angular->如何设置VSTS? [英] ASP.NET Core 2 + Angular -> how set up VSTS?

查看:41
本文介绍了ASP.NET Core 2 + Angular->如何设置VSTS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将我的 ASP.NET Core + Angular WebApp (通过VSTS)上传到GitHub,现在我想设置CI管道.之后,我想部署我的应用到Azure .

在模板部分-有一个 ASP.NET Core模板,还有一个 Azure Web App模板.

考虑我的案例,哪种情况更适合此案例?

解决方案

我在

I have my ASP.NET Core + Angular WebApp uploaded to GitHub(through VSTS) and now I would like to set up the CI pipeline. After that I would like to deploy my app to Azure.

In the template section - there is an ASP.NET Core template, but also an Azure Web App template.

Considering my case which is better suited for this case?

解决方案

I found the almost perfect working answer in Levi Fuller's blog. You can get it working with a minor change: unlike what Levi states, you really need only a single npm task


  1. set up the npm task
    • by clicking the three dots button -> set the Working folder with package.json to your folder that contains the package.json file.


  1. set up the Azure App Service Deploy
    • by clicking the three dots button -> set the Package or folder to your folder that contains the .csproj file.


这篇关于ASP.NET Core 2 + Angular->如何设置VSTS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆