İlginizi Çekebilir
  1. Ana Sayfa
  2. Microsoft Azure

Creating A CI Pipeline to deploy .Net Core Application using AZURE DevOps

Creating A CI Pipeline to deploy .Net Core Application using AZURE DevOps
+ - 0

Today we will talk about creating a CI Pipeline to build the application using Azure DevOps, before proceeding with the steps, let us go through some definitions to be able to understand the steps better.

Continuous Integration pipeline:

pipeline is a series of steps that must be performed in order to deliver a new version of software. Continuous integration delivery (CIpipelines are a practice focused on improving and automating software delivery using DevOps.

In this article we will go through the following steps to create a build to be used in deploying .Net Core sample application.


A compound of development (Dev) and operations (Ops), DevOps is the union of people, process, and technology to continually provide value to customers.

What does DevOps mean for teams? DevOps enables formerly siloed roles—development, IT operations, quality engineering, and security—to coordinate and collaborate to produce better, more reliable products. By adopting a DevOps culture along with DevOps practices and tools, teams gain the ability to better respond to customer needs, increase confidence in the applications they build, and achieve business goals faster.

Now let us go through the steps:

Setting up AZURE DevOps for the first-time use and creating new organization:


  1. Open your browser and go to httsp://
  2. Click Sign into Azure DevOps.

Image-2, 3

Sign in and enter your credentials.


Enter required details then click continue.


Click continue.


Now you need to choose name for your organization and project location, then validate you are human by entering characters show in the screen, then click continue.


Now you are in Azure DevOps home page, lets start by creating project.

Choose visibility to private or public depending on your requirement then click create project.


This is the project summary page where we can find all the tasks related to the project.

Now let us get our dot Net application to our Repository on AZURE.


In this demo we will depend on a sample application from Microsoft Azure-Samples on GitHub repository

You can access the sample code from the following url:


Now will import the code into Azure repository.

Click on Repos then click Import repository.

Paste the URL of the sample application from Git repository.

Image-13, 14

We can see Import in progress and succeeded.


Now the application imported in Azure repository.

let us create a CI Pipeline for the project

Image-16, 17

Click Pipelines and then click create pipeline .

Click use the classic editor.


Choose Azure Repos Git, then select DotNetCoreProject and click continue.


Choose the template you want to use; we have to choose .Net Core and click apply.


We have the name of the pipeline.

Agent Pool: executes on an agent from the selected pool. You can select a Microsoft-hosted pool, or a self-hosted pool that you manage.

Parameters: the project to restore and build, so it will look into the repository for any file .csproj

Projects to test: will look into the repository for any file for unit testing.

Image-21, 22

Click the arrow beside save & queue then choose to save.

Now we can queue our pipeline, click queue then click run.



The pipeline now is running.


The CI pipeline completed successfully.


We can see that the CI pipeline created build artifact and we can see it from here, click 1 artifact produced.

In my next article will show you creating CD (continuous delivery) and creating App service to deploy the .Net application on AZURE.


TAGs: Creating A CI Pipeline to deploy,Devops,Azure

Yazar Hakkında

In 2001 Mohamed Farouk graduated from Sadat academy for management science (Major Computer Sciences) in egypt. Mohamed is determined and solutions-focused information technology professional with a career progression that spans 18+ years and includes experience in the configuration, installation, upgrades, security, maintenance, integration, support, and monitoring of business-critical applications, databases, systems for SQL Server, Oracle and Microsoft Azure environments. As an experienced Project Leader committed to maintaining cutting edge AZURE technical skills and up-to-date industry knowledge, gifted with strong design skills and superb attitude when working independently or with a team of experts.

Yorum Yap