Site Under Construction page for asp.net

I must realize the opportunity to display the "Site under construction" page while performing some maintenance work on the site. There are many ways to implement this behavior (using the global.asax file, using IIS, etc.). Therefore, I would like to know that waht is the most commonly used way to implement this function.

Thanks in advance.

+3
source share
2 answers

I prefer the App_Offline.htm file in the root.

, App_Offline.htm . - .

, / - /URL-, / IIS.

+8

, , . , , , . , app_offline.htm. app_offline.htm , IIS . , , app_offline.htm , app_offline.htm .

: https://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/deploying-a-code-update

0

Source: https://habr.com/ru/post/1774889/


All Articles