180 likes | 271 Views
Smart Client applicaties met Visual Basic 2005. André Obelink, MCSD VBcentral. Smart Client. Thick Client. zware “footprint”. Web services en offline/online support. rijke gebruikers interface. lastig te deployen. Web Application. hoge productiviteit als ontwikkelaar. groot bereik.
E N D
Smart Client applicaties metVisual Basic 2005 André Obelink, MCSD VBcentral
Smart Client Thick Client zware “footprint” Web services en offline/online support rijkegebruikersinterface lastig tedeployen Web Application hoge productiviteitals ontwikkelaar grootbereik netwerkafhankelijk versiebeheereenvoudig “DLL Hell” UI isresponsief beperkte‘userexperience’ makkelijkte deployen adaptatiediversedevices lastig teontwikkelen Smart Client
Smart Client - Kenmerken • Benaderen ‘Local resources’ • Directe toegang tot scherm en randapparatuur • Responsieve graphics, printers, digitale camera’s, etc. • Gebruik maken van geïnstalleerde applicaties • Word, Excel, VSTO • Werk ‘Connected’ • Toegang tot netwerkbronnen • Web services, SQL Databases, Access
Smart Client - Kenmerken • Werk ‘Disconnected’ of ‘Offline’ • Cache online data • Update data wanneer weer verbonden • (Datasets in smart documents) • Intelligente uitrol en verspreiding updates • Eenvoudige ‘niet-administrator’ uitrol • Automatische updates • (Smart document deployment) • Rijke / mooie ‘developer experience’
Smart Client (GUI) André Obelink, MCSD VBcentral
Visual Studio 2005 • Data • New data-bound controls • Schema-based typed-data set designer • Support for iterative maintenance of generated data-code • Partial types for maintainable customizations of auto-generated code • Reduced need for “mapping” or “glue” code • Server explorer • Integrated data manipulation
Smart Client (Data) Alex Thissen Class-A in samenwerking met VBCentral
ClickOnce application deployment published on a web or file server Client follows link to serverhttp://www.tempuri.org/my.application Application deployed locally in user’s profile directory & executed Subsequent executions check for updates & execute local install ClickOnce Deployment Server application files Client
ClickOnce • Smart Client deployment technology • Provides web-deployment simplicity • End User • Provide web-deployment flexibility • Publisher • Other parallels to web-applications • Applications are isolated per-user • Can be executed with limited local permissions • Locally executed, rich features
ClickOnce Features • Follow a link to install an application • Automatic w/minimal or no decision points • web-style deployment • Automatic update of application • Security isolation and optional restricted permissions • Non-administrative installs
ClickOnce & VS 2005 • Project Settings Publish tab • Set deployment location • Configure data files for deployment • Other settings: version, online-only or online-offline, CD installations and other details • Project Settings Security tab • Calculating permissions required by your application to function • Also add permissions using SecurityException at runtime • Setting permissions in the manifest required to run • Partial trust and full trust supported
ClickOnce Deployment Alex Thissen Class-A in samenwerking met VBCentral
Application Updates • Auto-update deployment options • Before application launch, or • Update check occurs after app-launch • Scheduled update checks • Weekly, monthly, etc. • Project Settings Publish tab • Settings for update checking
ClickOnce Auto-update(Versioning) Alex Thissen Class-A in samenwerking met VBCentral
Smart Client Summary • Rich features easier than ever to implement • Windows Forms 2.0 new controls • Windows Forms 2.0 improved data integration • Installation and update easier than ever • ClickOnce web-style simplicity • ClickOnce web-style security • SmartClient rich feature-set • Customers access existing and new application features easily • Customers access your application with or without network connectivity
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.