Azure Release Pipeline with WebApp

Azure Release Pipeline with WebApp   1. Create a web app using App services. 2. Create an Azure DevOps Repo for.NET core project and Create ...

Azure Release Pipeline with WebApp 

1. Create a web app using App services.

2. Create an Azure DevOps Repo for.NET core project and Create a pipeline and in the pipeline using Assistant select the publish 

# ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:



  buildPlatform'Any CPU'



    msbuildArgs'/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\" /p:DeployIisAppPath="Default Web Site"'

3. To make sure the pipeline is created successfully, save and run the application as a pipeline job and once the execution is completed you will find that there is an artifact ( build artifact) created with a name drop ( you can expand it and find all the files related to the artifacts).

4. Select the Pipelines-->Releases option and Click on New Pipeline button.

5. In the template option select Azure app service Deployment. Click on Apply button.

6. Once you come back to the Release pipeline screen then Click on the +Add Artifacts button and select the build Artifacts.

7. Select the job and task link and click on it and provide the Task information and shown below.

8. Click on the Save button and then click on Create Release button and provide the information about the release similar as shown below.

9. Click on Create button to create the release pipeline and click on the Release link and it will show the Release process.

10. Click on Deploy to deploy the app on the web app service. Once the deployment is done then go to the web app URL and you will be able to see the application output on browser.

11. You can check the logs of the pipeline by using.

Continuous Deployment

Select the Release pipeline and Click on Edit.

Click on the trigger and enable the Continuous deployment trigger.

Now change the code in Azure Repos and check on Web app url that changes are reflected automatically.

Parallel Stages

Select the Release Pipeline and Click on Edit Button.

Click on the +Add button and select App service for deployment option and click on apply and provide the stage Name which you want to create in parallel deployment.

Sequential Stages

Select the Stage and under that, there is a +Add button click on that for the sequential Stage.

and select the stage-related application template and follow the same steps as mentioned in the released pipeline to deploy it on WebApp.

Approval and Gates.

Release Pipeline with Approval (Continuous Delivery)

When you deploy the stage of a release pipeline you want that there must be an approval required before the build code move to an environment like prod.


  1. This comment has been removed by the author.

  2. Thank you for sharing such useful information about Food and Travel Guides. I value and respect your opinion. You can also Checkout our amazing services of ASP.Net Development Services.

  3. Thanks for sharing this content, Very informative blog. The best erp for manufacturing industries.



Ansible,6,AWS,1,Azure DevOps,1,Containerization with docker,2,DevOps,2,Docker Quiz,1,Docker Swarm,1,DockerCompose,1,ELK,2,git,2,Jira,1,Kubernetes,1,Kubernetes Quiz,5,SAST DAST Security Testing,1,SonarQube,3,Splunk,2,vagrant kubernetes,1,YAML Basics,1,
DevOpsWorld: Azure Release Pipeline with WebApp
Azure Release Pipeline with WebApp
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content