Skip to main content
In this lesson, you’ve successfully:
  • Scaffolded and built a C# ASP.NET Core web application
  • Wrote a Dockerfile to containerize the app
  • Ran and tested the image locally on Docker
You’re now ready to take the next step: deploy your container image to Azure Kubernetes Service (AKS) for a production-grade, highly available environment.
Before deploying to AKS, ensure you have the Azure CLI installed and are logged into your Azure subscription:
az login
az account set --subscription "<your-subscription-id>"

Environment Comparison

EnvironmentDeployment ToolUse Case
Local Dockerdocker build / docker runDevelopment and testing
Azure Kubernetes Service (AKS)az aks / kubectlProduction-grade scalability