I have an asp.net website. Whenever I want to update website I remove all old pages and then I upload new files.
In this period of time all visitors get is exceptions. What is best way to show appropriate message like this?
“We are updating site, please visit later”
What you can do is create a file called
App_Offline.htmand add it to the root directory of the web application when you want to show a message. In that html-file you can add your custom message. Then when you are finished, just remove it or rename it.Read more about it here.