Improving the apps in production
Azure App Services
Florin Angelescu
Azure Cloud Architect
A better way to deploy changes

With slots:
- We can test changes in a staging environment
- Before pushing them to production
How deployment slots work

- A deployment slot is like a copy of your Web App
- With its own hostname and configuration
How deployment slots work

- Deploy your changes to the slot
- Test them safely
- Swap the slot into production
Deploying the UI change

- Create a staging slot for our Web App
- Deploy the updated order form there
- The production app continues running as before
Testing in staging

- The form renders correctly
- Submits orders properly
- Calls the Function back-end as expected
Testing in staging

- The slot shares most configuration with the production app
- The test environment closely mirrors reality
Swapping to production

- Swap the staging slot into production
- Azure handles the traffic redirection seamlessly
- We could also roll back by swapping again
Benefits of this approach

- Deployment slots help teams innovate safely
- Separate testing from live traffic, reduce risk, and support controlled rollouts
Let's practice!
Azure App Services
Preparing Video For Download...