I want to update an ASP.NET web application (including changes to the web.config file and database scripts) in several production environments - ideally with the click of a button. I do not have a direct network connection to any of them. I think this means that application servers will have to โpull outโ the information needed to update the application and run a script to update the application that is on the server.
Basically, I need a way to โpublishโ the update, and the servers see this update and automatically download and run it.
I thought about the possibility of creating an SFTP server for publishing updates and developing a custom tool that is installed in production environments, looking at the SFTP server every day and downloading application files, if available. This would at least provide the necessary files on the servers, and I could use xcopy / robocopy and Migrator.NET to deploy updates. Still not sure about the changes to the configuration file, but that at least got me somewhere.
Is there a good solution for this scenario? Are there any tools that do this for you?
source share