Chapter 50

Web Application Deployment


  • Publishing website and web projects
  • Publishing database scripts with web applications
  • Copying website changes to a remote server
  • Creating web application packages for deployment with the Web Deployment tool
  • 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 deploy web applications? This chapter walks you through deploying website and Web application projects. It also covers packaging web applications for remote deployment with the 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 need to focus on making the deployment process as simple as possible.


Web projects created with Visual Studio 2012 fall into two broad categories: Web application projects and Web site projects. This section demonstrates tools that are specifically for deploying and maintaining Web site projects.

Publish Web Site

The simplest way to deploy a website from Visual ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.