Deployment - just copy from Staging (.NET)

Automated deployment for web applications and databases

Deployment - just copy from Staging (.NET)

Postby vladnech » Mon May 27, 2013 1:22 pm

hi guys

I am a new one in Deployment Manager. Quick question - we have Staging environment, from where we're doing the deployments. We are not doing compiling, building and etc. before deploying to PROD. All those things are deployed to Staging and tested. I want to configure the Deployment Manager Steps to copy from Staging to PROD and change the Web.PROD.config.transformed file into Web.config. Is there any tutorial how to do it?
Thanks in advance for your answer.
Posts: 2
Joined: Mon May 27, 2013 1:17 pm

Postby vladnech » Tue May 28, 2013 10:46 am

Nobody knows?
Is there any way to specify the deployment step as PowerShell script?
Posts: 2
Joined: Mon May 27, 2013 1:17 pm

Postby chirayu » Thu May 30, 2013 10:21 am


Deployment Manager works with NuGet packages. NuGet package(s) for the project are added as steps and you deploy the same package(s) to different environments. So you can use Deployment Manager to deploy to Staging environment and once you are happy you can deploy that release to production from Deployment Manager.

To get different behaviour for different environments, there are variables in Deployment Manager and as you mentioned there are transformation files. May I ask, why do you need to rename production transformation file to Web.config? Deployment Manager will apply transformations from Web.production.config to change your Web.config.

We have some documentation about XML config transformations: ... tion+files

There is also an option to run powershell scripts during deployments: ... ll+scripts

Let me know if you have further issues.


Chirayu Shishodiya
Software Engineer - Deployment Manager
Red Gate
Posts: 73
Joined: Mon Sep 17, 2012 4:48 pm

Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests