Chapter 49. Web Application Deployment

WHAT'S IN THIS CHAPTER?

  • Publishing Web Site and Web Application projects

  • Publishing database scripts with Web Applications

  • Copying Web Site changes to a remote server

  • Creating Web Application packages for deployment with the Web Deployment Tool

  • Managing configuration files for multiple deployment environments

  • Keeping machines up to date with the Web Platform Installer

  • Extending the Web Platform Installer to include your own applications

In the previous chapter you saw how to deploy your Windows application using either an installer or ClickOnce. But how do you go about deploying web applications? This chapter walks you through deploying Web Site and Web Application projects. It also covers packaging web applications for remote deployment with the new Web Deployment Tool and integrating with the Web Platform Installer.

One of the most important aspects of building your application is to think about how you will package it so that it can be deployed. Though a large proportion of web applications are only for internal release, where a simple copy script might be sufficient, if you do want to make your web application available for others to purchase and use, you really need to focus on making the deployment process as simple as possible.

Note

After the release of Visual Studio 2005, Microsoft released Web Deployment Projects as a more advanced way of managing the deployment of Web Site and Web Application projects. When Visual Studio 2008 was released, these ...

Get Professional Visual Studio® 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.