I have an ASP.NET MVC website that needs to be regularly updated. The publishing method is FTP, and the publishing process takes around 6-7 minutes.
During this time interval , what happens for someone who tries to visit the website?
Thanks for your help.
Usually Visual Studio will create a file called app_offline.htm in the destination folder. That file stays there until the process is over.
If a user tries to access the page via browser during that period, he may see a message like this:
The app_offline.htm will disappear as soon as the publishing is done.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.