In this article, we are going to see how to create a Web App through Visual Studio and publish it.
Step 1: Create a web application in Visual Studio Here, I am selecting MVC Template. In this, I am not changing anything. Step 2: Create and Publish Web App Right click on project and select publish. It will give you a popup for details. Select Microsoft Azure App Service option. Put the credentials. It will fetch all your Web App Services. Click on New button to create a new Web App. It will pop up for Configure App Service Plan. Give a name for the App Service Plan and choose location and size. Here, I am choosing S1 (1 core, 1.75 GB RAM). Click on Create button and it will create the Web App. You can see that the Web App is created on the portal. Now, validate the connection for publishing. Click on Publish button to publish the Web App through Visual Studio. Now, you can create Web Application using Visual Studio.
The Developer’s Guide to Microsoft Azure - Second Edition