Before reading this article, please read the previous articles so that you can understand Azure DevOps. The list of previous articles is provided below.

In my previous article, we saw what Continuous Integration is and how to set up Azure DevOps Pipelines for CI in a .NET project.

This article is an extension to my previous article on Continuous Integration using Azure DevOps Pipelines and the .NET Project. For those who are new to this, I request you read my previous article on CI.

So, let's see how to set and build a pipeline for continuous deployment.

Step 1. Pipeline

There are three ways we can schedule the release trigger

Step 2. Tasks

As we have selected the IIS Deployment template, there are a few tasks and configurations to be done, as mentioned below.

Let's understand and configure one by one.

IIS Deployment

IIS Web App Manage

IIS Web App Deploy

Step 3. Variables Setup

Variables give us a convenient way to get the key data into various parts of the pipeline. There are system predefined variables and you can also create user-defined variables as per your need. For more details,click here.

Variable

Step 4. Retention Policy

The Retention Policy will help you to keep the history of your last few releases. You can configure the days here.

Retention

Step 5. Release Naming

The following are the options we can use for managing the release name format.

Option

Step 6. Release and Deployment

History

After the deployment, you can view the history of the changeset, change type, comment, Date time, User, and change details, anytime you want.

History

I hope you like this article. I'm waiting for your feedback or comments in the comment box.

If you want to read more about Azure DevOps, the next articles in this series are listed below.