Automatic Deployment to Multiple Production Environments

Posted by Brandon Montgomery on Stack Overflow See other posts from Stack Overflow or by Brandon Montgomery
Published on 2009-11-05T18:40:57Z Indexed on 2010/03/11 5:23 UTC
Read the original article Hit count: 346

I want to update an ASP .NET web application (including web.config file changes and database scripts) to multiple production environments - ideally with the click of a button. I do not have direct network connectivity to any of them. I think this means the application servers will have to "pull" the information required for updating the application, and run a script to update the application that resides on the server.

Basically, I need a way to "publish" an update, and the servers see that update and automatically download and run it.

I've thought about possibly setting up an SFTP server for publishing updates, and developing a custom tool which is installed on production environments which looks at the SFTP server every day and downloads application files if they are available. That would at least get the required files onto the servers, and I could use xcopy/robocopy and Migrator.NET to deploy the updates. Still not sure about config file changes, but that at least gets me somewhere.

Is there any good solution for this scenario? Are there any tools that do this for you?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about deployment