When deploying, Episerver's deployment automation engine performs the following steps.
This step creates a deployment package of the code in the source environment. Note the following:
This slot always has the same configuration as the current production slot. Other settings, such as logging to BLOB storage, are also configured according to DXP standards. At this stage, the slot is in a stopped state.
The code package created in step one is now deployed to the new slot.
Extensions for application performance monitoring, are installed on the slot and configured according to DXP standards.
Any configuration transforms included in the code package matching the target environment is applied on the target. See Environment configurations.
The deployment engine checks for an applicationInitialization section in web.config; if none exists, it is created. See Warming up sites.
The slot gets started and a "swap with preview" is initiated. The deployment engine monitors the site until it completely starts, and warm up finishes for all its instances.
The slot scales to the same level as the current production site so it can handle the production traffic load after the swap.
A manual "smoke test" is performed to verify that the site works as expected. For this to work, it is important that your Episerver site is configured to respond to the slot address. See Before going live step 1 in the Going live.
If the site works as expected, it is now swapped into the site's production slot of the current target environment (Preproduction or Production) and the old slot is stopped. If the site in the slot does not behave as expected, the swap is aborted and the slot site stopped. The files are saved for troubleshooting purposes, or until a new deployment is attempted.
Last updated: Apr 02, 2020