Events
Take the Microsoft Learn Challenge
Nov 19, 11 PM - Jan 10, 11 PM
Ignite Edition - Build skills in Microsoft Azure and earn a digital badge by January 10!
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This document provides an overview of how to migrate an ASP.NET web application from on-premises to an Azure Virtual Machine.
Learn how to create a virtual machine and publish your app to it: Publish to an Azure VM
These tutorials demonstrate the steps to create (or migrate) a virtual machine, publish your web application to it, and other tasks that may be required to support your application in Azure.
Virtual machines offer the easiest path to migrate an application from on-premises to the cloud. They enable you to replicate the same environment your application uses on-premises, while removing the need to maintain your own data centers. Virtual Machine Scale Sets provide high availability and scalability for applications running in Virtual Machines.
Choose the virtual machine size and type that is best optimized for your workload. For more information, see Sizes for Windows virtual machines in Azure.
Just like an on-premises machine, you are responsible for maintaining and updating the virtual machine*. If your application can run in a Platform as a Service (PaaS) environment such as Azure App Service or in a container, that will remove this need.
*Automatic OS upgrades for virtual machine scale sets is currently available as a Preview service.
Azure Virtual Networks enable you to:
To get started, see the Virtual Network documentation
Many applications use Active Directory for authentication and identity management.
If your application is using an on-premises database, your app will not be able to talk to it by default. You can either:
You want to make sure that your application is highly available and can scale, migrate your VM image to an Azure Virtual Machine Scale Set to improve the availability and scalability of your application. VM Scale Sets provide the ability to use an existing VM you've already configured or set up a build pipeline to build an image with your application.
To get started, see Deploy your application on virtual machine scale sets.
When running your application across multiple instances, consider storing your logs in a centralized location such as Azure Storage.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Take the Microsoft Learn Challenge
Nov 19, 11 PM - Jan 10, 11 PM
Ignite Edition - Build skills in Microsoft Azure and earn a digital badge by January 10!
Register nowTraining
Learning path
Migrate ASP.NET Apps to Azure - Training
Migrate ASP.NET web applications and their data to Azure App Service and Azure SQL Database to take advantage of the cloud.
Certification
Microsoft Certified: Azure Virtual Desktop Specialty - Certifications
Plan, deliver, manage, and monitor virtual desktop experiences and remote apps on Microsoft Azure for any device.