What are the best tools out there for automated deployments of Windows Services (i.e. NT Services) and ASP.NET web sites?
I know of good tools for automated builds, tests, versioning, and all that stuff, but I'm curious if there are any boiler-plate batch/PowerShell/MSBuild/NAnt/etc. scripts out there that can accomplish something like this:
- Build .NET software (optional - software might already be built)
- Create a backup of the existing install on the server
- Stop the service or website (if necessary)
- Copy new files up to the server
- Restart the service/website
- If something goes wrong, maybe an easy/quick way to rollback to previous install
I'm thinking a custom PowerShell script might be the way to go, but I don't want to re-do work if it has already been done.
Thanks!