Tuesday, November 24, 2009

Web Deployment Painkillers: VS 2010 & MS Deploy

The abstract of the talk was “Learn about next generation of ASP.NET Web Deployment with tips & guidance on how you can reuse and extend the technologies available with VS 2010 to build a hassle free web deployment solution for your team. See how to use VS 2010 and MS Deploy to assist with with creating virtual directories in an automated fashion, setting up app pools correctly, uploading only the changed content, replicating servers in web farms, modifying Web.config files for testing/staging/pre-Prod/UAT/Production environments, setting up team build environment or deploying databases.”

Hi Vishal, do you know if it is possible to use the Web One Click Publish feature in VS2010 RC to publish to a IIS 6.0 server? As far as I have read it wasn't ready in Beta 2 (I wasn't able to make it work).

I enjoyed watching your PDC video on web deploy. It was great. But I need help finishing the job of actually publishing the package cmd file from Team Build, to completely automate the process.

Where can I find documentation and/or examples of how to add activities to execute the *.deploy.cmd from the process template for Team Build 2010? I know how to call the MSDeploy tool from the command line to execute the package command file (*.deploy.cmd) to publish, but I need to have Team Build do that for me. I already have my build setup with /p:DeployOnBuild=true to create the package, but that's only half the task. I want my Team Build process to call the .deploy.cmd file to install the site on the server. Are you aware of any documentation or examples on how to do this? We are moving to 2010 very soon and I need to get this working.