Automated Deployment in Multiple Production Environments

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?

+4
source share
2 answers

I think the push, rather than push, strategy flaunted somewhat the usual wisdom ... but it looks like what CruiseControl.NET can easily do. Remember that the web.config file is also an XML document, so it is easy to modify it in the CruiseControl script. You could xcopy files or use svn export.

+2
source

http://varunkumargoel.blogspot.com/2010/03/how-to-make-automatic-deployment-for.html

Please view the aforementioned blog, where I posted information about the automatic deployment of a .NET application with SVN.

0
source

All Articles