Publishing the web application to the cloud

When you are ready to publish your web application to the cloud as an Azure website, right-click on the project in Solution Explorer. A context menu will pop up on the screen. Click Publish..., as shown in the following screenshot:

This will open the web app publishing wizard. As shown in the following screenshot, click on the App Service tab. There are two radio buttons, Create New and Select Existing. The first one will help you to create a fresh new Azure website, whereas the other will enable you to select an existing Azure website that's already hosted on the cloud:

As we are going to create ...

Get Mastering Visual Studio 2019 - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.