You are previewing Deploying .NET Applications: A Lifecycle Guide.
O'Reilly logo
Deploying .NET Applications: A Lifecycle Guide

Book Description

Get proven practices to help ensure successful deployments of .NET Framework–based applications, with real-world guidance and recommendations that span the deployment life cycle--including deployment planning, implementation, and application maintenance.

Table of Contents

  1. Deploying .NET Applications Lifecycle Guide
    1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
    2. 1. Introduction
      1. Who Should Read This Guide
      2. Chapter Outlines
        1. Chapter 1: Introduction
        2. Chapter 2: Planning the Deployment of .NET Framework – based Applications
        3. Chapter 3: Implementing the Deployment of .NET Framework – based Applications
        4. Chapter 4: Maintaining .NET Framework – based Applications
      3. What Is Application Deployment?
        1. Microsoft Solutions Framework (MSF)
        2. The Deployment Process
          1. Development Environment
          2. Test Environment
          3. Staging Environment
          4. Production Environment
      4. What Are .NET Framework – based Applications?
      5. What Is the .NET Framework?
        1. Common Language Runtime
        2. .NET Framework Class Library
      6. Types of Framework Applications
        1. Windows Forms Smart Client Applications
        2. ASP.NET Applications (Web-based Applications)
        3. XML Web Services
        4. Windows Services
        5. Console Applications
        6. Scripted or Hosted Applications
      7. Where to Deploy the .NET Framework
        1. Clients
        2. Web Servers
        3. Business Logic Servers
        4. .NET Framework to Database Servers
      8. Deploying the .NET Framework
        1. Requirements for Deploying the .NET Framework
        2. Further Requirements for .NET-based Applications
          1. Internet Explorer 5.01
          2. Microsoft Data Access Components (MDAC)
          3. Microsoft Internet Information Services (IIS)
          4. Microsoft Windows Management Instrumentation (WMI)
        3. Deploying the .NET Framework
          1. Syntax
          2. Preinstalling the .NET Framework
          3. Installing Alongside Framework Applications
      9. Localized Versions of the .NET Framework
      10. Summary
      11. More Information
    3. 2. Planning the Deployment of .NET Framework-based Applications
      1. What to Deploy with the Application
        1. Files and Folders
        2. Configuration Files
          1. Application Configuration Files
          2. Machine Configuration Files
          3. Security Configuration Files
          4. Managing Configuration Files Across Different Environments
          5. Specifying Remoting Information
        3. Web Services Files
        4. Discovery Files
        5. XML Schema Definition (XSD) Files
        6. J# Redistributable Package
        7. Assemblies
          1. Strong Naming Assemblies
          2. Private Assemblies
          3. Shared Assemblies
            1. Deploying the Assembly with Each Application
            2. Deploying the Assembly in One Directory
            3. Deploying the Assembly in the Global Assembly Cache
          4. Windows Forms User Controls
        8. Installation Components
          1. Predefined Installation Components
          2. Installer Classes
            1. Instrumented Assemblies
        9. COM Components
        10. Serviced Components
        11. IIS Settings
          1. HTTP Handlers and HTTP Modules
          2. SSL Settings
        12. Registry Settings
        13. Merge Modules
        14. CAB Files
        15. Localization
        16. Debug Symbols
      2. Choosing a Deployment Strategy
        1. No-Touch Deployment
          1. Deploying Shared Assemblies
          2. Multi-Assembly Applications
        2. Windows Installer Package Deployment
          1. Using Windows Installer Packages for Multi-Tiered Applications
          2. Security Considerations
          3. Distributing Windows Installer Packages
            1. Group Policy Functionality of Active Directory
            2. Systems Management Server (SMS)
            3. Other Methods
          4. Choosing Between Group Policy and SMS for Distribution
          5. Automating the Creation of Installers
          6. Tools for Creating Windows Installer Packages
        3. Deploying a Simple Collection of Build Outputs
          1. Distributing a Simple Collection of Build Objects
            1. Microsoft Application Center 2000
            2. Visual Studio 2003
            3. File Copy
          2. Host Header Issues for Web Applications
      3. Summary
      4. More Information
    4. 3. Implementing the Deployment of .NET Framework-based Applications
      1. No-Touch Deployment
        1. Security Considerations
      2. Installer Packages
        1. Adding Project Output Groups
        2. Adding Files
          1. Adding Configuration Files
            1. Configuration Override File in Visual Basic Projects
            2. Configuration File Override in C# Projects
        3. Adding Assemblies
        4. Adding COM Components
        5. Adding Security Policy
        6. Managing Merge Modules
          1. Setting Merge Module Project Properties
          2. Building a Merge Module
        7. Managing CAB Files
        8. Adding Dependencies
        9. Adding Launch Conditions
        10. Adding Registry Settings
          1. COM Calling to .NET
        11. Adding File Associations
        12. Setting Project Properties
          1. Create Localized Installers
          2. IIS Settings
        13. Adding Custom Actions
          1. Adding Files
          2. Modifying IIS Settings
          3. Adding Pre-defined Installation Components
            1. Adding Event Logging
            2. Adding Message Queues
            3. Adding Performance Counter Categories and Counters
            4. Adding Windows Services
          4. Adding Instrumented Assemblies
          5. Adding Serviced Components
          6. Pre-Compiling ASP.NET Applications
        14. Design the User Interface of Windows Installer Files
        15. Building the Installer File
          1. Choosing How the Files Are Packaged
          2. Compressing the Installer File
          3. Authenticode Signing
        16. Other Windows Installer Package Considerations
          1. Documenting Installer Creation
          2. Administrative Installation
          3. .NET Framework Bootstrapping
          4. Windows Installer Bootstrapping
          5. Manipulating Installer Packages
            1. Use Orca to Create Nested Installations
            2. Automating the Creation of Installers
      3. Collection of Simple Build Objects
        1. Files and Folders
        2. Assemblies
          1. Private Assemblies
          2. Deployment of Shared Assemblies
          3. Deployment of Instrumented Assemblies
        3. Application Resources
        4. COM/COM+ Objects
        5. IIS 6.0 Settings
        6. Serviced Components
        7. Applying Security Policy
        8. Registry Settings
      4. Summary
      5. More Information
    5. 4. Maintaining .NET Framework-based Applications
      1. Upgrading .NET Framework-based Applications
        1. Planning an Upgrade Strategy
        2. Levels of Upgrade
        3. Upgrade Options
        4. No-Touch Deployment Upgrades
        5. Upgrading Using Windows Installer
          1. Windows Installer Upgrade Strategies
            1. Creating a New Deployment Project
            2. Updating an Existing Deployment Project
            3. Patch Packages
          2. Versioning Installer Packages
            1. Versioning Major Upgrades
            2. Versioning Minor Upgrades
            3. Versioning Small Updates
          3. Upgrading Merge Modules
          4. Upgrading CAB Files
          5. Distributing Upgrades
            1. Group Policy Functionality of Active Directory
            2. Systems Management Server (SMS 2.0)
            3. Other Methods
        6. Updating a Simple Collection of Build Outputs
          1. Using Shadow Copy Functionality
          2. Updating Assemblies
          3. Distribution Strategies for an Upgrade to a Collection of Build Outputs
            1. Application Center
            2. Updating COM+ Applications with Application Center
            3. Visual Studio 2003
            4. File Copy
        7. Configuring Automatic Updates
          1. The Application Updater Application Block
            1. Using a Windows Service
            2. Using a Façade Executable
          2. Other Solutions for Automatic Updates
            1. Using a Façade Application to Perform the Checks for Updates
            2. Using a Shadow Copy Technique for the Application Update
      2. .NET Framework Side-by-Side Execution
        1. Running Assemblies Side by Side
          1. Determining Which Assembly to Load
            1. Application Configuration File
            2. Publisher Policy
            3. Machine Configuration File
          2. Isolation
          3. Assemblies in the Global Assembly Cache
            1. Version-Aware Code Storage
            2. Testing Considerations for Side-by-Side Shared Assemblies
        2. Running Distributed Applications Side by Side
        3. Running Multiple Versions of the Framework Side by Side
          1. Determining Which Version of the Runtime to Load
        4. Running .NET-based Applications with Dependencies
          1. Configuring a COM Application for Side-by-Side Execution
            1. Specifying the Runtime Version
            2. Specifying an Assembly Version
            3. Side-by-Side Issues with Serviced Components
        5. ASP.NET Applications Running Side-by-Side
          1. Script Maps for ASP.NET Applications
            1. Using Application Center to Manage Side-by-Side Instances
          2. Security Considerations
          3. ASP.NET and Dependent Components
      3. Summary
      4. More Information
    6. A. Authors
    7. B. Collaborators
    8. Index
    9. C. Additional Resources
      1. Reduce project cost
      2. Increase confidence in solutions
      3. Deliver strategic IT advantage
    10. SPECIAL OFFER: Upgrade this ebook with O’Reilly