Skill 3.4.8
Configure deployment slots for an App Service
Key Concepts
Slots are available in Standard (up to 5 slots) and Premium (up to 20) tiers. A slot such as staging is reached at name-staging.azurewebsites.net and runs on the same plan instances as production. A swap warms up the source slot with the target's settings, then switches the routing, so production never serves a cold app, and swapping back is the rollback. Swap with preview applies the target settings and pauses so that you can validate before completing the swap.
Settings marked Deployment slot setting are sticky and stay with the slot, which is how a staging slot keeps its own connection strings. Some settings, such as custom domains, TLS bindings, scale settings and managed identities, are never swapped. Auto swap swaps a slot into production automatically after each deployment, and traffic routing sends a percentage of production traffic to a slot for testing in production.