Deploy Your First ASP.NET Core Web Application to Azure Kubernetes Service with Azure DevOps

Ali Kizildag
8 min readFeb 1, 2020

In this article, I am going to tell how to deploy your ASP.NET Core Web Application using Azure DevOps and Azure Kubernetes Service. We are going to create some resources on the Azure Portal and Azure DevOps Pipelines step by step.

You can clone the source code on my Github profile.

This article may be more suitable for those who are just starting out with Azure DevOps.

Prerequisites

You should have a basic understanding of Azure, Docker, and Kubernetes.

An Azure Account ( https://portal.azure.com/). If you don’t have an account yet, you can get a 30-day free trial account and some credits.

An Azure DevOps Account ( https://azure.microsoft.com/en-in/services/devops/).

I strongly recommend that use the same email addresses for each account.

Visual Studio (recommended 2019).

Azure Portal

Create Azure Resources

We need two resources on the Azure Portal. The first one is the Azure Kubernetes Service(AKS) which provides a managed Kubernetes service. The other is Azure Container Registry(ACR) that allows us to store our container images.

1. Azure Kubernetes Service

--

--