How to update website Under IIS

11 tháng cách đây
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 tháng cách đây
You can also...
First upload your files, and then in Administration click the gear icon (in upper right corner), and select "Restart application"
11 tháng cách đây
But it won’t let me replace files saying file in use unless I turn site and application pool off in IIS
11 tháng cách đây
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 tháng cách đây
Will see if it works.
10 tháng cách đây
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.
10 tháng cách đây
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.