
234
|
Chapter 11: ASP.NET Deployment
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
• Use Microsoft Windows Installer 2.0 to create an installation package that
will install the assembly or assemblies to the GAC. This installation ensures
easier rollback of assemblies and other benefits. See the Windows Installer
2.0 documentation for information on creating Installer packages.
Deploying Through Visual Studio .NET
If you are using Visual Studio .NET to create your web applications, you have
some additional deployment options at your disposal. These options include
simply using Visual Studio’s Copy Project command to copy some or all project
files to a new location and using a Web Setup project to create a Windows
Installer package to install the web application, including creating the necessary
IIS directories. These techniques are discussed in the following sections.
In addition to these options, Visual Studio .NET allows you to open a project
directly from the Web, so you could theoretically create the project directly on the
target server and edit it there. This is only recommended for development
systems, since incorrect edits made using this technique on production systems
could result in application errors or downtime. To open a project from the Web,
simply open Visual Studio .NET and select File
➝ Open ➝ Project From Web….
Deploying ...