Upgrading an application deployed to a hosted service
An application deployed into a Windows Azure hosted service can be upgraded using the Windows Azure Service Management REST API. The upgrade includes both the application package and the service configuration file. Although the entire application package must be uploaded, it is possible to specify that only a single role be upgraded.
The Service Management API exposes an upgrade deployment operation. The REST endpoint for the upgrade deployment operation specifies the subscription ID, the name of the hosted service, and the slot of the application to be deployed. The operation requires a payload comprising an XML document specifying the Windows Azure blob containing the application package and a base-64 encoded version of the service configuration file. Each deployment upgrade has a name used to distinguish it from other deployments into the same-hosted service. As the upgrade deployment operation is asynchronous, the response contains...