Deploy.NET Applications with Ease Brian Noyes IDesign, Inc. www.idesign.net.

Slides:



Advertisements
Similar presentations
New Release Announcements and Product Roadmap Chris DiPierro, Director of Software Development April 9-11, 2014
Advertisements

SAURABH PANT PROGRAM MANAGER MICROSOFT CORPORATION Configuring ClickOnce to best work for your deployment scenario.
Scripting Automated Solutions for Siemens PLM Software
Enterprise Smart Clients Architecture, Patterns, Design, Best Practices Keith Elder Manager, Sr. Software Engineer Quicken Loans Blog:
Developing Smart Client Applications For The Enterprise Keith Elder Team Leader / Sr. Software Engineer Quicken Loans Blog:
VAR318: Developing Service Oriented Workflows Brian Noyes IDesign Inc (
True IT Solutions For You 1 IT Solutions Software Development and Web Design.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Leveraging Enterprise Library in Your Applications Keith Elder Quicken Loans Manager, Sr. Software Engineer Microsoft MVP Keith a t keithelder dot net.
Windows Forms 2.0 – ClickOnce Stephen Turner Software Design Engineer
Be The Master Of Your Domain with POCO WCF RIA Services SILVERLIGHTSHOW.NET WEBINARS SERIES BRIAN NOYES, CHIEF ARCHITECT, IDESIGN INC 27 Sep 2011.
Smart Clients What, Why, and Where By: Richard Arthur.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
DEV450 Visual Studio: Best Practices For Debugging Managed Applications Habib Heydarian Scott Nonnenberg Program Managers Microsoft Corporation.
Certified for Windows Vista. Introducing the Windows Vista Logo Programs.
Installation Requirements. Agenda Installation requirements Installation options Installing to correct folder locations Installing Windows resources Creating.
Advanced Deployment Topics – MSI Enhancements Om Sharma Program Manager, Windows Installer Microsoft Corporation.
Agenda Master Expert Associat e Microsoft Certified Solutions Master (MCSM) Microsoft Certified Solutions Expert (MCSE) Microsoft Certified Solutions.
OnBase Module Deployment
.NET On A Shoe String By: Patrick Brannen Lead Developer iDevCo, Inc.
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Smart Client Applications for Developers Davin Mickelson, MCT, MCSD New Horizons of MN.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
Win & Web App Installers with WiX
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
DEV334 Creating Application Starting Points & Sharing Best Practices with Enterprise Templates Marc Gusmano Director of Emerging Technologies The Information.
Microsoft Confidential Office as a Development Platform Tim Heuer
Brian Noyes Chief Architect IDesign Inc ( Session Code: SOA 305.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
 Evolution of Smart Client  What is Smart client?  Types of Smart client  Architectural challenges  Smart Client Architecture  Demo application.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Windows Forms in Visual Studio 2005: An Overview Name: Joe Stegman Title: Lead Program Manager Session code.
VWF310: Encapsulate Custom Business Processes with Custom WF Activities Brian Noyes IDesign Inc (
DEV337 Modeling Distributed Enterprise Applications Using UML in Visual Studio.NET David Keogh Program Manager Visual Studio Enterprise Tools.
Create Windows ® Applications with.NET Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft.
Section 11: Implementing Software Restriction Policies and AppLocker What Is a Software Restriction Policy? Creating a Software Restriction Policy Using.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
DEV340. Chief Architect IDesign Inc. ( Microsoft Regional Director ( Microsoft MVP Silverlight Publishing Developers.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Configuring and Deploying Web Applications Lesson 7.
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Eliminate Team Build Headaches with Unit Tests, WiX and Virtualization Benjamin Day
Win & Web App Installers with WiX Benjamin Day Level: Intermediate.
Microsoft Installing & Configuring Windows Server Exam Questions Answers Powered By:
Enterprise Library 3.0 Memi Lavi Solution Architect Microsoft Consulting Services Guy Burstein Senior Consultant Advantech – Microsoft Division.
ClickOnce Deployment (One-click Deployment)
Introduction ITEC 420.
Packaging and Deploying Windows Applications
Build Fundamentals and Continuous Integration
Visual Studio Tools for Office 2005
SQL Server Data Tools Gert Drapers
The Application Lifecycle
CIS16 Application Development – Programming with Visual Basic
DAT381 Team Development with SQL Server 2005
ClickOnce Deployment (One-click Deployment)
6/20/2019 1:09 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows Forms in Visual Studio 2005: An in-depth look at key features
Windows Forms in Visual Studio 2005: An Overview
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Deploy.NET Applications with Ease Brian Noyes IDesign, Inc.

About Brian Software Architect, IDesign, Inc. ( Microsoft MVP in ASP.NET Writing MSDN Magazine, asp.netPRO, Visual Studio Magazine,.NET Developer’s Journal Building Windows Forms Data Applications with.NET 2.0, Addison-Wesley, expected release spring 2005 Speaking Microsoft TechEd, Visual Studio Connections, DevEssentials, VSLive!, INETA Speakers Bureau Participate in Microsoft design reviews Blog:

Agenda Deployment Challenges Deployment Models No Touch Deployment Setup and Deployment Projects Custom Installers

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

Deployment Models using the.NET Framework xcopy deployment No-Touch Deployment (NTD) Updater Application Block Windows Installer.NET Framework 2.0: ClickOnce

xcopy Deployment Process Copy application files to appropriate folder Run

xcopy Deployment Benefits 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

xcopy Deployment Drawbacks More files on disk No shared physical implementation between apps Less centralized management Need to ensure all files are compatible versions

No Touch Deployment (NTD) Otherwise known as Auto-deployment Zero deployment href-exe deployment

No Touch Deployment (NTD) Process Place application files on deployment (web) server Provide URL to EXE to users Users click on URL to launch EXE and supporting DLLs downloaded and cached on user machine Execute in.NET runtime secure sandbox Based on Code Access Security for the deployment server location Deployment server is checked for new versions every time application is launched

No Touch Deployment Brian Noyes IDesign, Inc.

Benefits Easy deployment of smart client applications No need for admin to touch client workstations for install Auto-updating of application files based on deployment server versions Protected from malicious code execution Easy, Web-like user experience No Touch Deployment (NTD)

Drawbacks Only applicable to client Windows applications Security protections can limit application capabilities Must be online to execute, no offline use No control over download/update process Must resort to workaround approaches to overcome the other drawbacks

Updater Application Block Auto-updating of installed smart client applications from a deployment server Process Deploy updates to server with manifest Run controller on client to monitor for changes on server Controller downloads, validates, and optionally post-processes updates App launcher runs new version on next app launch

Windows Installer Application installation and configuration service Manages installation and removal of applications Centrally defined rules and repository Provides disaster recovery and rollback mechanisms

Windows Installer Highly customizable process and database of installation steps and items Uses Installer deployment packages (.msi files) Executable format, often called by setup.exe Current version 2.0 Supported OS: Win 95, 98, ME, NT4, 2K Part of WinXP, Server 2003

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

Setup and Deployment Project Types

Customizing Setup Projects Fine Grained Setup Options File System Editor Registry Editor File Types Editor User Interface Editor Custom Actions Editor Launch Conditions Editor

WinForms Deployment Brian Noyes IDesign, Inc.

Capturing User Input Pre-defined dialogs Assign variable names to input controls Can pass variables to custom steps or use in conditionals Custom Actions Present your own dialogs after completion of the canned dialogs Gather input as desired

Defining Custom Actions Custom actions only executed after setup project steps Action types Executables (*.exe,*.dll)) Scripts (*.vbs, *.js)

ASP.NET Web Application Deployment Brian Noyes IDesign, Inc.

Creating Managed Installers Derive from Installer base class System.Configuration.Install Apply [RunInstaller(true)] attribute Place in class library assembly Either: Add to custom action Run InstallUtil.exe

Handling Errors Rollback method Call during the Install phase if an error occurs InstallException Throw during the commit, rollback, or uninstall phases if an error occurs

Managed Installer Brian Noyes IDesign, Inc.

Summary Multiple deployment models Smart Client options evolving Easy to support complex installation requirements with Setup and Deployment Projects Support managed and unmanaged project installation Can create custom managed installers with.NET Choose the minimum impact install possible Plan for deployment early in requirements analysis and design process

No Touch Deployment us/dv_vstechart/html/vbtchno-touchdeploymentinnetframework.asp us/dv_vstechart/html/vbtchno-touchdeploymentinnetframework.asp Updater Application Block ClickOnce Deployment.NET Rocks! Interview Deploy and Update Your Smart Client Projects Using A Central Server, Brian Noyes, MSDN Magazine, May Microsoft Installer SDK us/msi/setup/windows_installer_start_page.asp us/msi/setup/windows_installer_start_page.asp

Q1:Overall satisfaction with the session Q2:Usefulness of the information Q3:Presenter’s knowledge of the subject Q4:Presenter’s presentation skills Q5:Effectiveness of the presentation Please fill out a session evaluation on CommNet