Deploy .NET apps to Arm VMs and Azure Container Registry
Introduction
Motivation
Creating the Virtual Machine
Connecting to the Virtual Machine
Installing application dependencies and running the application
Create a Dockerfile using Visual Studio Code
Building a Docker image
Azure Container Registry
Pushing the local image to Azure Container Registry
Next Steps
Deploy .NET apps to Arm VMs and Azure Container Registry
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Use Azure Cloud Shell from the Azure Portal. SSH to the VM using its public IP address.
The script installs .NET SDK 7 under the
.dotnet folder in your home directory on the VM.Clone the People.WebApp repository from
GitHub
using
git.From the
People.WebApp folder, run sudo docker build -t people.webapp:v1 .. The -t flag assigns the image name and tag, while . sets the current folder as the build context.Verify the VM’s network security group is configured to expose the application. After updating the rule, test access using the VM’s public IP address.