Thông tin tài liệu
1 Chapter 16. Deploy .NET Applications Deploy .NET Applications Agenda Deployment Challenges Deployment Models No Touch Deployment Setup and Deployment Projects Custom Installers 2 Deployment Deployment is the process used to distribute a finished application (or component) to be installed on other computers Deployment Challenges Platform requirements Intuitive and easy installer UI Application artifact placement Files / Folders Registry Global Assembly Cache Databases Custom install procedures Removing installation artifacts at uninstall Handling Errors Windows installer will help 3 Windows Installer Application installation and configuration service Manages installation and removal of applications Centrally defined rules and repository Provides disaster recovery and rollback mechanisms Deployment Models using the .NET Framework 1. xcopy deployment 2. No-Touch Deployment (NTD) .NET Framework 2.0: ClickOnce 3. Setup and Deployment Projects Custom Installers: Serial number 4 1. Xcopy Deployment Copy application files to appropriate folder Run Easiest deployment model Limited potential for interference with other applications at install Limited potential for interference with other applications at runtime Side-by-side versioning achieved through physical separation More files on disk No shared physical implementation between apps Less centralized management Need to ensure all files are compatible versions 2. No Touch Deployment (NTD) – Click One Menu Build->Publish Otherwise known as Auto-deployment Zero deployment href-exe deployment 5 3.Setup and Deployment Projects Built-in project types in Visual Studio.NET Creates a Windows Installer package (.msi file) Integrates with deployed project through VS.NET solutions Fine grained control of installation steps Supports Authenticode certificate signing Need to have .NET Framework on target machine 4.Setup and Deployment Projects What to Deploy Where to Deploy It How to Deploy It Component with .net framework Prerequisites 6 Setup and Deployment Project Customizing Setup Projects Fine Grained Setup Options File System Editor Registry Editor File Types Editor User Interface Editor Custom Actions Editor Launch Conditions Editor 7 Serial key on Deployment Any characters to the right of this character will not be visible in the dialog box. Required as a terminator if the < character is used. > Any characters to the left of this character will not be visible in the dialog box. < Requires an uppercase or lowercase character. Numeric digits are not valid here. ^ Requires an alphanumeric character that will not be included in the validation algorithm. ? Requires a digit that will be included in the validation algorithm.% Requires a digit that will not be included in the validation algorithm.# Meaning Chara cter . 1 Chapter 16. Deploy .NET Applications Deploy .NET Applications Agenda Deployment Challenges Deployment Models No Touch Deployment Setup and Deployment Projects Custom Installers 2 Deployment Deployment. have .NET Framework on target machine 4.Setup and Deployment Projects What to Deploy Where to Deploy It How to Deploy It Component with .net framework Prerequisites 6 Setup and Deployment. and rollback mechanisms Deployment Models using the .NET Framework 1. xcopy deployment 2. No-Touch Deployment (NTD) .NET Framework 2.0: ClickOnce 3. Setup and Deployment Projects Custom
Ngày đăng: 13/05/2014, 12:19
Xem thêm: Chapter 16 Deploy .NET Applications