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:
- Create a website in the portal for one of the environments; I've called mine
http://azurebakery-test.azurewebsites.net/
. - 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).
- Unzip the
drop
package (make sure you unblock it first from the file properties) and copy theMyWebsite_Package
folder to a temporary folder to make it easier to deploy. - Locate the following parameter in the
MyWebsite.SetParameters.xml
file:<setParameter name="IIS Web Application Name" value="Default Web Site/CustomerWebsite_deploy" />
- 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.