Deploying an ASP.NET Web Application on Azure is simple. You can either create an application through the Azure portal, or create a web application from Visual Studio and publish it to Azure using Visual Studio or .NET CLI (command-line interface).
Suppose we have an ASP.NET Core application in place and we want to deploy that application on Azure. To do so, we will just right-click on the web application project from Visual Studio, and choose Publish. A dialog will open, and ask you to select the target to be published, as shown in the following screenshot:
Once you select Microsoft Azure App Services ...