BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

MSDeploy: Automatic Website Deployment and Sync

by Jenni Konrad on Dec 08, 2011 |

MSDeploy, also known as the IIS Web Deployment Tool, is a utility for migrating and synchronizing websites between servers. It can take care of tasks that would generally have to be performed manually by an administrator, such as copying files, modifying web.config, managing certificates, setting up databases, and configuring IIS.

The web deployment package that MSDeploy creates consists of a .zip file of all the web content in an application, plus IIS configuration details such as error pages and application pools. It can also include certificates, GAC components, and registry settings. If a SQL database is being deployed, MSDeploy will create a script of the schema and data, and allow the developer to include custom SQL scripts if necessary.

Using the IIS Remote Administration Service, MSDeploy can accommodate one-click publishing directly from Visual Studio 2010. Publish Profiles store login credentials and database connection strings, and do not require administrator privileges to deploy applications.

Another function of MSDeploy is web server synchronization. It can be used across server farms to detect differences and update only the changes across all servers (in addition to code changes, this also includes certificate, registry, and IIS configuration updates). Administrators can create a secure service for this so that transfers take place via HTTPS, if desired.

MSDeploy is included in the Visual Studio 2010 installer, or it can be downloaded separately using the Web Platform Installer.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT