Deploy .NET applications to Arm Virtual Machines and Container Registry in Microsoft Azure
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 applications to Arm Virtual Machines and Container Registry in Microsoft Azure
Who is this for?
This learning path is for software developers interested in learning how to deploy .NET applications to Microsoft Azure using Arm64-powered Virtual Machines. You will also learn how to containerize .NET applications, and push Docker images to the Azure Container Registry.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Create a Virtual Machine (VM) in Microsoft Azure.
- Connect to the VM to install app dependencies, including SDK.
- Create and run the .NET application.
- Configure the network security group of the VM to expose the application over the Internet.
- Provision of an Azure Container Registry.
- Push a local Docker image to Azure Container Registry.
Prerequisites
Before starting, you will need the following:
- A subscription to Azure. Use this link to sign up for a free account: https://azure.microsoft.com/en-us/free/
- Visual Studio Code: https://code.visualstudio.com/download
- Docker Extension for Visual Studio Code: https://code.visualstudio.com/docs/containers/overview
- C# Extension for Visual Studio Code: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp
- Install Docker on Arm64