Questions tagged [azure-deployment-slots]
167 questions
4
votes
1 answer
app config settings WEBSITE_CONTENTSHARE in function app deployment slots
Do I have to set WEBSITE_CONTENTSHARE value in app settings when having multiple deployment slots? What does this value indicate? Can I provide some random values for WEBSITE_CONTENTSHARE in production and aging slots?

user989988
- 3,006
- 7
- 44
- 91
4
votes
1 answer
Azure Function slot warmed but still experiences cold start
For our Azure function we use the auto-slot-swapping feature with the following appsettings to ensure our slot is warmed before going live:
WEBSITE_OVERRIDE_PRESERVE_DEFAULT_STICKY_SLOT_SETTINGS = 1
WEBSITE_SWAP_WARMUP_PING_PATH =…

FBryant87
- 4,273
- 2
- 44
- 72
4
votes
1 answer
An azure function app will trigger all the deployment slots?
I have a function app with 2 slots (staging and prod), both of them will trigger the upload of a file in the same blob storage. My question is: if both of them will trigger the same blob storage (but act differently), the time I upload a file to…

Agustin
- 51
- 1
4
votes
2 answers
Azure Web App deployment slots with database migration
I'm currently running a webApp with several deployment slots (e.g. dev, staging, production). Every Slot is connected to a database (db_dev, db_staging, db_production). I want to deploy to the staging slot and then switch with production. How do…

user3838018
- 305
- 3
- 14
4
votes
2 answers
Azure Web App deployment slots web.config
I have an application deployed hosted as Azure Web apps and I want to create multiple environments for it: staging, QA, Live using deployment slots.
I keep all of the apps configurations in web.config and I would like to keep them there. I know that…

Mihai
- 2,740
- 31
- 45
4
votes
2 answers
Publishing web app to Azure Websites Staging deployment slot fails with webjob
I just created a new deployment slot for my app, imported the publishing profile to Visual Studio, but after deployment I get this error message:
Error 8: An error occurred while creating the WebJob schedule: No website could be found which matches…

Jeff
- 12,085
- 12
- 82
- 152
3
votes
1 answer
task hub name must be specified in host.json when using slots
On adding a staging slot in my function app, I see the error:
task hub name must be specified in host.json when using slots
I updated host.json as follows:
{
"version": "2.0",
"extensions": {
"durableTask": {
"hubName":…

user989988
- 3,006
- 7
- 44
- 91
3
votes
2 answers
How to avoid hosting restart when deploying Azure Functions with deployment slot?
I configured pipeline to do zero down time deployment for Azure Functions. For that purpose I have following steps:
create slot
deploy to slot
start swap with preview
complete swap
My understanding of this is process is that all restarts should…

Krzysztof Madej
- 32,704
- 10
- 78
- 107
3
votes
1 answer
Why is Azure app service not reliably reading my connection strings when I am using the production (base app service) slot
I have an ASP.NET Core 2.1 API that I am deploying to an Azure App Service. I use Azure SQL Server for my backing databases.
Below is a screenshot of the App Service (base) Application Settings blade. This shows the .Net Framework version set to…

whiskytangofoxtrot
- 927
- 1
- 13
- 41
3
votes
1 answer
Deploying Azure Function Slot from Visual Studio deploys Production
Short: How do I create a publish profile in Visual Studio that deploys a deployment slot vs production slot?
Long: That moment when you get a Sev1 call saying that Production is busted and you know that minutes before you just fired off a deployment…

ThatCreole
- 495
- 1
- 7
- 17
3
votes
2 answers
angular 2 app on azure read app settings
I want to deploy an angular 2 app to different web app slots (let's say dev, staging and prod) using VSTS CI/CD. Each slot should point to a different web api. Normally one would specify three different environment files inside the app, but the…

user3838018
- 305
- 3
- 14
3
votes
0 answers
Why would an Azure web site restart multiple times after publishing to a deployment slot and auto-swapping to production slot?
I publish my (pre-compiled) ASP.NET web forms site from Visual Studio to a deployment slot with auto swap enabled so that it'll swap over into my production slot. It works; the production slot eventually gets the new code and it's fine but it…

ron
- 1,048
- 7
- 16
3
votes
2 answers
Azure Deployment Slots - swapping and retaining connection strings
I recently swapped a staging Azure app into production with the "Swap with preview" function, and after completing the swap, the production app was pointing to the staging SQL DB connection string. In the app settings, I have the staging connection…

Ben
- 337
- 1
- 6
- 20
2
votes
0 answers
http 405 status code when traffic routing of deployment slots
I am using Microsoft Azure Web App for managing my releases (testing and production environments) via deployment slots.
Recently, I've done some infrastructural changes to my application. And after thorough testing, I created a new deployment slot…

mahmoud
- 21
- 2
2
votes
1 answer
Unable to swap deployment slots
I have an Azure function with production and staging deployment slots. I see the swap failing due to the following error:
Cannot swap site slots for site because the 'staging' slot did not respond to http ping. (CODE: 417)
What am I missing?

user989988
- 3,006
- 7
- 44
- 91