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?
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?
If you want to check the same code, select the same code and deploy again to the staging slot.
In Visual Studio you can see the Deployment Slots.
Output: