12

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?

4

1 回答 1

2

该设置主要用于本地服务器。在云上,有一个替代的和更好的执行部署。

使用部署槽。参考资料: https ://azure.microsoft.com/en-us/documentation/articles/web-sites-staged-publishing/#custom-warm-up-before-swap

有几篇文章概述了优点和功能。

于 2016-08-29T10:54:57.013 回答