According to this post, it's possible to have MSDeploy automatically drop an App_Offline.htm file when deploying.
Sadly, it doesn't appear to work when using the VSOnline "GitContinuousDeploymentTemplate" build process and deploying to Windows Azure Websites.
Is there any workaround to leverage this feature? Any other solutions that don't require manually stopping the website prior to the build kicking off?
That setting was primarily used in On-premise servers. On cloud there is an alternate and a better to perform deployments.
Use Deployment Slots. References: https://azure.microsoft.com/en-us/documentation/articles/web-sites-staged-publishing/#custom-warm-up-before-swap
There are several articles out there outlining the advantages and features.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With