Web Deploy as a site extension
In the latest version of Azure Websites, we have enabled a new Web Deploy endpoint which lives as a site extension on each customer’s site. If you’re not familiar with site extensions, they’re essentially plugins that allow website owners to enhance the manageability of their site. Web Deploy is a good fit as a site extension because it allows each site to host their own instance of the service, as well as give us the ability to update it more frequently.
How to tell if you’re using the new endpoint
With the new endpoint enabled, any new publishing profile that you download will be configured to point to it. To confirm if your publish profile uses the new endpoint, open it up and look for the publishUrl attribute under the MSDeploy profile node. If the publishUrl looks something like “sitename.scm.*” then your profile is pointing to the new endpoint. If it looks like “*.publish.azurewebsites.windows.net” than it’s still pointing to the old one. Here’s an example of what it might look like:
The left profile has the old endpoint while the right profile has the new endpoint
How do I move back to the old endpoint?
For the moment we are keeping the previous Web Deploy endpoint available to ease the transition. If needed you can get a publish profile that points to the old publishUrl by doing the following steps:1. Open your site in the Azure management portal and click on the “Configure” tab.
Limitations of the new endpoint
There are a small set of known limitations for the new endpoint that have simple workarounds via Azure Portal and are usually one-time actions. These limitations include any actions which attempt to:
- Modify any application pool settings
- Create new sub-applications