Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use EnableMSDeployAppOffline when doing continuous deployment to azure websites?

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?

like image 235
Matthew Belk Avatar asked Jul 17 '14 17:07

Matthew Belk


1 Answers

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.

like image 99
Kaushal Kumar Panday Avatar answered Nov 08 '22 23:11

Kaushal Kumar Panday