Migrate an ASP.NET web app to Azure App Service


To complete this tutorial:

  • Install Visual Studio 2017 with the following workloads:
    • ASP.NET and web development
    • Azure development

    ASP.NET and web development and Azure development (under Web & Cloud)

Hint: If you’re not sure you have these workloads installed, learn how to modify your Visual Studio installation to include the Web Development workload.

Open an existing web app

Open the existing web app you want to migrate, or use the sample project.

The sample project contains a basic ASP.NET MVC CRUD (create-read-update-delete) app using Entity Framework Code First. In this sample, the database context uses a connection string named MyDbConnection to connect to a local database.

Run your application

Once your application is open, press F5 to run it. The app is displayed in your default browser.

I ran into an issue I've run my web app locally