Chapter 34. Deployment

WHAT YOU WILL LEARN IN THIS CHAPTER

  • The major built-in options for deploying .NET applications

  • How to create deployment projects within Visual Studio

  • How to use ClickOnce to deploy Windows applications such as those based on Windows Forms or WPF

  • How to access the IIS Web Deployment Tool for deployment of Web projects

Applications developed with the .NET Framework have a host of deployment options that were not available for older, COM-based software. These options completely change the economics of deployment. The changes are so important that they can even alter the preferred architecture for a system written in .NET.

Deployment encompasses many activities required to place an application into a production environment, including setting up databases, placing software in appropriate directories on servers, and configuring options for a particular installation. Deployment also includes handling changes and upgrades to the application.

This chapter covers the major deployment options for .NET applications. Chapter 31 on assemblies should be considered a prerequisite for this chapter, as assemblies are the basic unit of deployment.

First, you'll look at some of the problems that can occur when you deploy applications, along with a number of terms that are used when talking about application deployment. Then you'll learn how .NET addresses many of these deployment issues. The remainder of the chapter covers the following:

  • Creating deployment projects in Visual Studio 2010 ...

Get Professional Visual Basic® 2010 and .NET 4 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.