Several methods exist for deploying Azure websites:
- IDE (Web Deploy) e.g. Visual Studio, Web Matrix
- Repository e.g. Git, TFS
- CLI e.g. FTP copy, Xplat CLI
Azure site extensions can be deployed to add custom administrator functionality to your website.Site Control Manager can be setup to manage sites and extensions.
Web deployment packages can be created in Visual Studio and allow quick deployment of websites:
- .zip file contains all files for deployment including:
- .cmd file to customise IIS installation
- .xml files to specify site parameters
Azure App Service Plan provides a mechanism to group web apps and other app services together to manage and scale. Deployment slots allow code to be staged and easily promoted from development to production and backed out. Database connection strings can be sticky per slot to ensure when new code is promoted into production it will use the production database and vice versa.
Web Apps can use a local GIT repository on Azure or an existing source control system. Dropbox can also be used with Azure as an external deployment source with the rollback feature enabled to revert to previous code versions.