Deploy an ASP.NET app to an Azure virtual machine

Prerequisites

To complete this tutorial, you will need Visual Studio 2017 installed with the ASP.NET and web development workload.

Create

In Visual Studio:

  • Create a project by selecting File > New > Project.
  • Select Visual C# > Web > ASP.NET Web Application (.NET Framework).
    Hint: If you do not see the ASP.NET Web Application (.NET Framework) project type, learn how to modify your Visual Studio installation to include the Web Development workload.
  • Name the application MyAzureWebApp
  • Click OK.

    New Project dialog box

  • Select the MVC template.
  • Click OK.

    New ASP.NET Project dialog box

  • Press Ctrl+F5 (or go to Debug > Start without Debugging) to run the web app locally.

I ran into an issue I have created my ASP.NET web app