Update an ASP.NET Core website with thousands of JPG images takes ages
-
I have two related questions. 1) I have an ASP.NET Core website hosted for me by WebWiz. The target location on the server for my web site files is /MyWebSite.org/public_html/. The web site contains thousands of JPG images and publishing takes a looooong time because Visual Studio has to FTP all of those images. Is there a way to configure so that it only uploads images not already present? 2) Publishing does an FTP to the MyWebSite.org/public_html/ folder. What happens when someone tries to browse the web site while it is being published? Can I publish to /MyWebSite.org/temp_public_html/ and then when it is complete, delete /MyWebSite.org/public_html/ and then rename /MyWebSite.org/temp_public_html/ as /MyWebSite.org/public_html/? As you can see, my knowledge of how IIS and web sites work is thin.