How to deploy a website on Windows Azure

In this article we will see how to deploy a website on Windows Azure.

The Deploy of the Website on Windows Azure

Starting from a previously created web application it is possible to configure the deployment of our application on Windows Azure.

Let's imagine we have already created an application ASP.NET MVC 5 (eg WebsiteAzureDeployDemo1), to configure the deployment you need to open the context menu on the project from the window Solution Explorer and click Pubblish.



 

How to deploy a website on Windows Azure

 

At this point a new window will appear for the configuration of the publication of our website.

 

How to deploy a website on Windows Azure

 

Clicking on Microsoft Azure Websites, if you have not done so before, you will need to log in with an account that has a valid and active Windows Azure subscription.

 

How to deploy a website on Windows Azure

 

Carried out on login you can decide whether to create a new website, or select an existing website, on our Windows Azure subscription.

If you want to use an existing website, all you have to do is select one of the websites in the "Existing Websites".

 

How to deploy a website on Windows Azure

 

Otherwise, by pressing the button“New…” you will be able to create a new Website within our subscription of Windows Azure.

 

How to deploy a website on Windows Azure

 

Once you have chosen the Website on which to deploy, the publication procedure will automatically fill in all the data useful for the connection used for the publication.


 

How to deploy a website on Windows Azure

 

By pressing the "Next"It will be possible to configure additional parameters such as:

  • Active configuration for compilation
  • Removal of additional files present on the destination website
  • Pre-compilation of the created Website, before compilation
  • Exclusion of files in the App_Data folder
  • DB connection string (only if configured)

 
How to deploy a website on Windows Azure


 

Once the parameters have been configured, pressing the "Next"You will be able to see a preview of the operations that will be carried out during the publication of our Website:

 

How to deploy a website on Windows Azure

 

How to deploy a website on Windows Azure

 

At the end of the procedure, just press the button "Pubblish”To finally start the deployment.

 

 

To check the progress and the success of our deployment just view the window "output"

 

How to deploy a website on Windows Azure

How to deploy a website on Windows Azure

 

Once the deployment is complete, Visual Studio will open our published website in a new browser window.

 

How to deploy a website on Windows Azure

 

Happy Coding

How to deploy a website on Windows Azure

 

 

add a comment of How to deploy a website on Windows Azure
Comment sent successfully! We will review it in the next few hours.