Continuous Integration/ Continuous Deployment VSTS - Blogs

Continuous Integration/ Continuous Deployment VSTS

Following the below steps you can build and deploy your ASP.NET  app to Azure from either Visual Studio Team Services 

Upload your code

Upload your latest code to Visual Studio Team Services repository.

Create the definition

  1. Login to your VSTS account

  1. Open your team project in your web browser.

Verify that the VSTS version control is updated with the latest code

  1. Create a build definition.

·         After you have a Windows build agent configured, following the below steps you can define a CI build process that compiles and tests your .NET app whenever your code is checked in to the version control.

·         Goto the build tab on top of the page and create a new build defnition


·         Choose the Visual Studio Build template


·         Specify the code you want to build and select the continuous integration (CI) trigger.


·         Save the defnition after providing the required parameters in each build steps you have added in your definition.



    Queue your new definition to make sure all the build steps for executed successfully. You can follow the execution of the build process from the console.






You now have the continuous integration setup for your build. And the build runs whenever there is a check-in to codebase.


4.       Similar to the build definition, we need to define a release definition.

·         Navigate to your project and click on the release tab,

·         Add a new release definition and choose the type of template and create the new definition.





·         Make sure the subscription you want to use is selected.

·         If a subscription is not available, then add a service endpoint by clicking on mange

·         Then choose the name of the webapp which had been created for release.

·         Web Deploy Package: browse and choose the path of the package you want to release.






·         In the Triggers tab select how the new release should be created. For CD choose continuous deployment and click save




·         Click on the (+) release button and create a new release and select the build version from the drop down (this can done manually or go ahead and queue the same build again so the release is created automatically and the package gets deployed).




·         You can follow the release on the logs tab within the release you created.



You now have the CI/CD setup for your project.

Once the release is successful you can go to the azure webapp URL and find the updated version.


Azure App Service Scaling Features And Capabilities

How to scale the application in Azure App Service. There are two workflows for scaling, scale up and...

Read More >

Azure App Service (Build And Host Web Apps, Mobile-Back Ends Without Managing Infrastructure)

In this blog we will see what is Azure App Service, and it’s  features and why do we use it, we can...

Read More >

Azure Blob Storage: The PowerShell Way!

Hi folks!Great to see you again.This blog post is purely based on Azure Blob Storage: The PowerShell...

Read More >

Create a Windows Server 2012 R2 VM using ARM in Azure PowerShell

Hi Folks,In this Blog Post we will learn how to create an Azure ARM Virtual Machine using Azure Powe...

Read More >

How to Sync On-premise AD with Windows Azure AD using Azure AD Connect tool

 Azure AD is a service that provides identity and access management capabilities in the cloud. ...

Read More >

Creating a Point-to-Site Connectivity using Azure Resource Manager

Configure a Point-to-Site connectivity to a VNet using PowerShell (ARM Mode)Task 1: Create a Self-Si...

Read More >

How to Create an Azure Virtual Network by using a Deployment Template

Hello Folks!In this Blog post, we will try to learn how to create an Azure V-Net using an ARM templa...

Read More >

Locking VMs and Resources Groups with Azure Resource Manager using Azure PowerShell

Hello Folks!In this blog post we will be talking about locking down your Azure Resources with Azure ...

Read More >

Microsoft Azure: Implementing Internet Facing Load Balancers using Azure Resource Manager

Howdy Folks!I was exploring Network Load Balancer in Azure Resource Manager and found out that you c...

Read More >

Microsoft Azure Stack : Power of Azure in our datacentre

Why Azure Stack?Microsoft Azure Stack is a new hybrid cloud platform product that enables our organi...

Read More >


Try DevOpSmartBoard Ultimate complete Azure DevOps End-to end reporting tool

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive

Contact Us
  • *
  • *