› Azure › Deploying ASP.NET Web Applications to Azure Web Apps

Deploying ASP.NET Web Applications to Azure Web Apps

 1 Comment

Azure Web Apps is a service provided by Microsoft Azure to host .Net, Java, PHP, Node.js, Python applications. We can host Web, Mobile, API as well as Logic Apps using Azure Web App Service. In this article we will look at how we can deploy an ASP.NET application on the App Service.

Pre-requisites

  1. Active Azure Subscription
  2. Visual Studio 2013

 

A. Deploy ASP.Net Web applications by signing into Visual Studio

  1. Open Visual Studio and create a new ASP.Net Application.
  2. Azure Create Project

  3. Check Host in the Cloud in the Select Template Menu and click on OK.
  4. Azure Select Hosting

  5. Sign in to your Azure Account. Select the Service Plan for your application.
  6. Azure Service Plan

  7. After the application has been successfully created you can publish it to Azure using the Publish button.

B. Deploy an already created ASP.Net Web Application on Azure

  1. Login to your Azure account and then select Web Apps->New->Quick Create.
  2. Enter a valid url for your web app and then click on Create Web App.
  3. Azure 1

  4. Next click on your web app and then click on download publish profile.
  5. Azure 2

  6. After downloading the Publishing profile go back to Visual Studio to import this profile and start the deployment.
  7. Inside Visual Studio right click on the project and click on publish.
  8. Click on import and then select the publishing profile file that we had downloaded and then click on Ok.
  9. Click on Publish and the deployment will begin.
  10. If the deployment is successful you can browse you website from the app service using the url you had used to create the web app on Azure.
  11. Azure 3

 


Liked it? Share it.

One thought on “Deploying ASP.NET Web Applications to Azure Web Apps”

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.