When you swap slots, you can precisely control the behavior and configuration of web apps.
Suppose you set up deployment slots for production and staging. You test a new version of your social media web app in the staging slot. Now it’s time to deploy that new version to production. You want to deploy the app smoothly and in the correct configuration.
Here, you learn the correct configuration to swap the web app into production.
Manage the configuration for a swap
When you swap two slots, the app’s configuration travels to the new slot along with the app. You can override this behavior for individual application settings and configuration strings by configuring them as slot settings.
Suppose, for example, you have two databases. You use one for production and the other for acceptance testing. You always want the app version in the staging slot to use the testing database. The app version in the production slot should always use the production database. You can achieve this overall configuration by configuring the database connection string as a slot setting.
https://lernix.com.my/cloud-computing-training-courses-malaysia
Leave a Reply