Part 1: Deployment of .NET Winforms apps
History
Deployment & Updates
Security
Issues & Warnings
Configuration and user settings
Part 2: Security
Role-based security
Authentication and Authorization
Impersonation
Code Access Security
Assembly Strong Naming
20. ClickOnce - The Best of both Worlds z Web Forms Network Dependency Limited User Experience Complex To Develop Windows Forms Fragile “ DLL Hell” Tough To Update Tough To Deploy Easy To Update Easy To Deploy Easy To Manage Rich User Experience Offline Capable Responsive & Flexible High User Productivity Click Once
21.
22.
23. History: Feel the pain… Windows Installer vs ClickOnce z Features Windows Installer ClickOnce Click a link Post-installation rollback Does not affect shared components Security permissions required Administrator Internet/Intranet Zone Installation-time user interface Multipart Wizard Single prompt Automatic Updates Application and deployment manifest signing Security permissions granted Full Trust by default only permissions necessary Installation of assemblies on demand Add application to Start menu Application installation location Program Files folder ClickOnce app cache Install time Registry access (so move to app) Limited Installation of Drivers Installation to Global Assembly Cache Installation for multiple users Installation of shared files Add application to Startup group Add application to Favorites menu Register File types Binary File patching
24.
25.
26.
27.
28.
29.
30. ClickOnce Deployment - Deployment Manifests z 1.0 1.1 Application Manifest Web Page Link to Manifest Deployment Manifest 1.0 Application Manifest 1.1
37. ClickOnce Deployment Strategies Compared Web Install CD Install Web Run Adds Shortcuts Adds Add/Remove Requires Updates Allow Passing of Query Parameters Doesn’t require internet
41. ClickOnce Update - How it works? z Yes No Application Store Installed Startup SHIM My Application Deployment Framework Service What is a SHIM? It’s a small piece of software that is added to an existing system program or protocol in order to provide some enhancement. Update Check?