Questions tagged [azure-deployment-slots]
167 questions
36
votes
3 answers
Azure: Pricing of deployment slots for an Azure App Service
Azure: Pricing of deployment slots for an Azure App Service.
Using an S1 App Service Plan, my web site has up to 5 slots for web app staging.
How are those slots charged? Are they billed only if used? Included in the S1 fee? or something else.

Michael Schulz
- 642
- 1
- 6
- 12
27
votes
1 answer
How do deployment slot settings work on an Azure App Service?
For a given web app service, when multiple deployment slots are setup, e.g.:
myapp
myapp/staging
and I create an appSetting that is marked as a "deployment slot setting" on myapp, what happens when I swap slots? Does the deployment slot setting stay…

joelmdev
- 11,083
- 10
- 65
- 89
16
votes
2 answers
Trouble with Slot Setting for Azure App Services
I need to understand Slot Application Settings better for Azure App Services. When they apply and how to use them correctly.
I have 2 App Services set up each running 2 slots as below.
Site 1 with slot - building-staging
Site 1 with slot -…

Daniel van Heerden
- 836
- 1
- 7
- 25
12
votes
5 answers
ARM Templates for Azure Functions with many appSettings for different environments and slots
I've got two Azure Function apps that use deployment slots, stage and production. These two Azure Function apps have about 50~ key:value pairs in Application Settings to define various API keys, application behavior, connection strings, etc.
I want…

Anthony Klotz
- 567
- 1
- 5
- 19
12
votes
1 answer
How can I gracefully migrate open Websocket connections after a deployment slot swap?
In my web app when the user logs in to the app, their browser opens a Websocket to the server so that updates can be pushed down to the browser.
It's an ASP.NET Core Web App (self-hosted) running in Azure App Services. I'd like to use Azure's…

Michael Kropat
- 14,557
- 12
- 70
- 91
12
votes
4 answers
Deployment slot specific appsettin in ARM template?
I'm trying to get into that Visual Studio Resource Group template.
So far it's looking good, and I have added some appsettings for a web app, but my question is, how can I make them deployment slot specific? Is there something in the json for the…

Volker
- 1,753
- 2
- 18
- 28
10
votes
3 answers
Azure key vault - add access policy for deployment slot
I have an app with 2 slots. I have stored connection strings in the key vault. I have enabled MSI on the app and 2 slots. Also, within the vault's access policy, I have added the app (production slot). However I am not able to add the slots to the…

Redzon
- 431
- 8
- 19
7
votes
2 answers
How to publish to a development slot in Azure from VS Code
I have an App Service app and a development slot
I see them too on Vs Code
But when I publish I can not select the slot
Any idea please?
Regards

kintela
- 1,283
- 1
- 14
- 32
7
votes
1 answer
How to know if an Azure function is running in a slot
Can a function know if it's running in a slot?
I would like to prevent a function to be executed if in "staging" slot.
Updated
Base on the answer from Bruce (thanks again buddy), I wrote that blog post…

Frank Boucher
- 1,834
- 20
- 25
7
votes
1 answer
How can I have a staging site for my Azure web app with its own database?
I have an MVC website that is connected to an azure web app and has continuous deployment to a staging site set up. It works great! After I check in, the successful build is automatically deployed to the staging slot of my webapp. After I verify…

DanJosef
- 353
- 1
- 3
- 13
6
votes
2 answers
Requested value 'VS2015' was not found. - Azure powershell
I am trying to get my slot info through azure powershell.
To retrieve the info i used
Get-AzureWebsite -Name mywebsite -Slot staging
but azure powershell throws the below error:
Get-AzureWebsite : Requested value 'VS2015' was not found.
At line:1…

ManirajSS
- 2,295
- 5
- 26
- 50
6
votes
1 answer
Azure web apps: Warning about an "auto-swap lock file"
I'm using Octopus Deploy to deploy a web application to Azure web apps. I'm using the deployment slots with auto-swap feature to warm the app up before making it accessible.
Now Octopus Deploy issues a warning after every deployment:
An auto-swap…

theDmi
- 17,546
- 6
- 71
- 138
6
votes
1 answer
Azure web apps auto-swap notifications
I'm using a deployment slot called warmup on my Azure web app with the auto-swap feature. My deployment process is as follows:
Octopus Deploy creates a release and deploys to the warmup slot
Auto-swap warms up the slot and swaps to production as…

theDmi
- 17,546
- 6
- 71
- 138
5
votes
1 answer
How to conifgure specify sticky slot settings for Azure function using ARM template
I have app settings that need to be sticky to deployment slots for Azure Function.
I followed example provided from below posting.
How to use sticky staging slots in Azure Arm Templates
However, when the resources are deployed onto resource through…

Evan Park
- 528
- 1
- 6
- 20
4
votes
1 answer
How to differentiate code running in production and staging slots
I have 2 Azure Functions: Azure Function 1 and Azure Function 2.
Azure Function 1 is timer trigger function which runs every n minutes and puts a message to a queue.
Azure Function 2 is a service bus trigger function which gets triggered after…

user989988
- 3,006
- 7
- 44
- 91