Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Build automation script for asp.net core and angular #6662


User avatar
0
Ricavir created

Hi,

I would like to use the powershell script from the "build" folder. I'm publishing my app to Azure (App service) and I'm doing a lot of steps manually as for now :

  • clearing wwwroot folder over FTP
  • Publishing asp.net core from visualstudio publish UI
  • Bluilding angular app
  • Copying new files over FTP
  • Changing angular conf files manually according to the targetted slot (production or staging)
  • ....

I would like to automate all this process. As I'm using VSTS, I could also think of a full pipeline for continuous delivery...

I know that this is out of your support scope but could you guide me a little bit according to you experience ?


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    You can use ci/cd tools, including vsts. The azure platform has good support for this.

    There is a related document here: https://devops.com/deploying-into-azure-app-service-using-azure-devops-ci-cd-pipeline/

  • User Avatar
    0
    Ricavir created

    Tks @maliming for this great article. It is a part of the puzzle :)

    I would also like to automate angular app build process like it is in the powershel script "build-with-ng.ps1" provided with the asp zero template.

    I didn't found any documentation on how to use "build-with-ng.ps" script

  • User Avatar
    0
    maliming created
    Support Team

    I haven't actually used it, but I believe the principles are similar. You can check out this article.(Or there are a lot of help articles on google) https://itnext.io/easy-way-to-deploy-a-angular-5-application-to-azure-web-app-using-vsts-pipelines-4a288b9deae1

    https://www.google.com/search?q=vsts+build+angular+cli&oq=vsts+build+angular+cli https://www.youtube.com/watch?v=rjkCjPhznvc

  • User Avatar
    0
    joe704la created

    @ricavir did you figure out a good ci/cd pipline for this?

    I am looking into doing the same.

  • User Avatar
    0
    Ricavir created

    Hi @joe704la,

    I'm still using Azure DevOps which best fit my needs. You can do a lot of things but need to googlize and test a lot before putting it in production. I'm event using it for mobile apps.

    The time you will need to set this up will be valuable !