We can publish web application from visual studio to azure.You can also create all the resources required for hosting web application in azure in visual studio.In this article we will see how to publish web application to azure from visual studio.
Create web application in visual studio
After the web application is created
once the web application is created right click and select publish.Select create new app service.In the dialog that appears enter the required fields as below
After this when the publish window appears click the publish button.
Once the application is published it will automatically launch using the site url in the above image
you can verify that the web app is created in Azure by navigating to the web app in azure portal.You can see a new web app created with the same name which we have specified above: