How to update website Under IIS

11 个月 前
When I have to update the website / move files from publish folder I have to stop the website and replace this take the site offline.
Am I doing it wrong if so, what is the correct approach?
11 个月 前
You can also...
First upload your files, and then in Administration click the gear icon (in upper right corner), and select "Restart application"
11 个月 前
But it won’t let me replace files saying file in use unless I turn site and application pool off in IIS
11 个月 前
Turn on the Store Closed setting
Stop the Webserver and upload
Then restart the Webserver
Check the website is working correctly
Turn off the Store Closed setting
11 个月 前
Will see if it works.
11 个月 前
Another way is to create a new site, new folder where you upload new files and test it first locally, then you just swap the domain mapping, i.e. remove domain from older IIS site and map it to new IIS site. There will be still down time, but it will be considerably lesser.
11 个月 前
Wow a bit surprised that no way without downtime. And folder has millions of images so copy pasting that is out of the question for me.