Comments on: Azure Web App Deployment Slot Swap with Preview https://ruslany.net/2015/10/azure-web-app-deployment-slot-swap-with-preview/ Azure App Service Features and Best Practices Tue, 01 Oct 2019 17:23:15 +0000 hourly 1 https://wordpress.org/?v=6.2.16 By: James https://ruslany.net/2015/10/azure-web-app-deployment-slot-swap-with-preview/#comment-6101 Tue, 01 Oct 2019 17:23:15 +0000 http://ruslany.net/?p=392581#comment-6101 In reply to Roelant.

@Roelant Check out “Application Initialization”. You can specify URIs to have hit before production traffic is applied.

]]>
By: Roelant https://ruslany.net/2015/10/azure-web-app-deployment-slot-swap-with-preview/#comment-1080 Mon, 05 Sep 2016 19:08:08 +0000 http://ruslany.net/?p=392581#comment-1080 Hi,

great article!
You say that a root call is made after the deployment.
In my case, the root is just a blank page en application_start. Which is good, the preloader starts warming up. However, this doesn’t check any dependecies.
I can force the root call to go to a ‘healtcheck-controller’ and check all dependencies to work. However, what I cannot find is; if the reqests returns a 500-status. Will the swap not take place? If so, that would be great 🙂
If not; do you have any other ideas?

]]>
By: wizofaus https://ruslany.net/2015/10/azure-web-app-deployment-slot-swap-with-preview/#comment-1079 Fri, 05 Aug 2016 10:16:34 +0000 http://ruslany.net/?p=392581#comment-1079 Sorry if this is old but I noticed recently after I’d been doing quite a bit of slot swapping that it seems the entire file system of the app service gets swapped – including log files! Now I understand that there may be other locations I can write logs to, but my basic principle with writing logs is to stick to whatever is least likely to fail – i.e. the local file system. Are there any recommendations as to where we might be able to reliably write logs to that don’t get swapped? I’m using log4net so hopefully it’s just a config file to define a new log appender.

]]>