azureazure-web-app-serviceazure-deployment-slots

Deployment slot has empty contents for Azure App Service


I recently set up deployment slots for my apps for Blue/Green deployment. I created a second slot for a staging environment. The new deployment slot has it's own URL. When clicking on this URL, it seems to have no content.

As per documentation from Microsoft (https://learn.microsoft.com/en-us/azure/app-service/deploy-staging-slots?tabs=portal) "The new deployment slot has no content, even if you clone the settings from a different slot". This seems to be normal behaviour.

Now I am confused, then what is the point of the deployment slot. Just for pre-configuring parameters? I know you can have slot specific environment variables.

Would the only way for me to see my updated app be to perform the swap, take a look, and if there's bugs, I would swap back?


Solution

  • Yes, as mentioned in the MSDoc, the new Deployment slot adds only the configuration settings.

    what is the point of the deployment slot. Just for pre-configuring parameters?

    Would the only way for me to see my updated app be to perform the swap, take a look, and if there's bugs, I would swap back?

    enter image description here

    enter image description here

    Output:

    enter image description here