Deploying web packages to Azure

Now that we've got a package built on the build server, we'll deploy it to Azure using the following procedure:

  1. Create a website in the portal for one of the environments; I've called mine http://azurebakery-test.azurewebsites.net/.
  2. Download the publish profile from the website's dashboard, and open it in Visual Studio (you can press Ctrl + E, D to quickly format it).
  3. Unzip the drop package (make sure you unblock it first from the file properties) and copy the MyWebsite_Package folder to a temporary folder to make it easier to deploy.
  4. Locate the following parameter in the MyWebsite.SetParameters.xml file:
    <setParameter name="IIS Web Application Name" value="Default Web Site/CustomerWebsite_deploy" />
  5. Change the value ...

Get Learning Microsoft Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.