Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

18

Transcript of Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Page 1: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.
Page 2: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Smart Client applicaties metVisual Basic 2005

Smart Client applicaties metVisual Basic 2005

André Obelink, MCSDAndré Obelink, MCSDVBcentralVBcentral

Page 3: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Smart ClientSmart Client

lastig telastig tedeployendeployen

zwarezware““footprint”footprint”

““DLLDLLHell”Hell”

netwerknetwerkafhankelijkafhankelijk

beperktebeperkte‘user‘user

experience’experience’

lastig telastig teontwikkelenontwikkelen

Web servicesWeb servicesen offline/onlineen offline/online

supportsupport

adaptatieadaptatiediversediversedevicesdevices

grootgrootbereikbereik

versiebeheerversiebeheereenvoudigeenvoudig

makkelijkmakkelijkte deployente deployen

rijkerijkegebruikersgebruikersinterfaceinterface

hoge productiviteithoge productiviteitals ontwikkelaarals ontwikkelaar

UI isUI isresponsiefresponsief

Page 4: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Smart Client - KenmerkenSmart Client - Kenmerken

Benaderen ‘Local resources’Benaderen ‘Local resources’ Directe toegang tot scherm en Directe toegang tot scherm en

randapparatuurrandapparatuur Responsieve graphics, printers, digitale Responsieve graphics, printers, digitale

camera’s, etc.camera’s, etc. Gebruik maken van geïnstalleerde Gebruik maken van geïnstalleerde

applicatiesapplicaties Word, Excel, VSTOWord, Excel, VSTO

Werk ‘Connected’Werk ‘Connected’ Toegang tot netwerkbronnenToegang tot netwerkbronnen Web services, SQL Databases, AccessWeb services, SQL Databases, Access

Page 5: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Smart Client - KenmerkenSmart Client - Kenmerken

Werk ‘Disconnected’ of ‘Offline’Werk ‘Disconnected’ of ‘Offline’ Cache online dataCache online data Update data wanneer weer verbonden Update data wanneer weer verbonden (Datasets in smart documents)(Datasets in smart documents)

Intelligente uitrol en verspreiding Intelligente uitrol en verspreiding updatesupdates Eenvoudige ‘niet-administrator’ uitrolEenvoudige ‘niet-administrator’ uitrol Automatische updatesAutomatische updates (Smart document deployment)(Smart document deployment)

Rijke / mooie ‘developer experience’Rijke / mooie ‘developer experience’

Page 6: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Smart Client (GUI)Smart Client (GUI)

André Obelink, MCSDAndré Obelink, MCSDVBcentralVBcentral

Page 7: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Visual Studio 2005Visual Studio 2005

DataData New data-bound controlsNew data-bound controls Schema-based typed-data set designerSchema-based typed-data set designer

Support for iterative maintenance of Support for iterative maintenance of generated data-codegenerated data-code

Partial types for maintainable Partial types for maintainable customizations of auto-generated codecustomizations of auto-generated code Reduced need for “mapping” or “glue” codeReduced need for “mapping” or “glue” code

Server explorerServer explorer Integrated data manipulationIntegrated data manipulation

Page 8: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Smart Client (Data)Smart Client (Data)

Alex ThissenAlex ThissenClass-AClass-Ain samenwerking met VBCentralin samenwerking met VBCentral

Page 9: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

ClickOnce DeploymentClickOnce Deployment ClickOnce application ClickOnce application

deployment published deployment published on a web or file serveron a web or file server

Client follows link to serverClient follows link to serverhttp://www.tempuri.org/my.applicationhttp://www.tempuri.org/my.application

Application deployed locally in Application deployed locally in user’s profile directory & user’s profile directory & executedexecuted

Subsequent executions check Subsequent executions check for updates & execute local for updates & execute local installinstall

Server

Client

application filesapplication files

Page 10: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

ClickOnceClickOnce

Smart Client deployment technologySmart Client deployment technology Provides web-deployment simplicityProvides web-deployment simplicity

End UserEnd User Provide web-deployment flexibilityProvide web-deployment flexibility

PublisherPublisher Other parallels to web-applicationsOther parallels to web-applications

Applications are isolated per-userApplications are isolated per-user Can be executed with limited local Can be executed with limited local

permissionspermissions Locally executed, rich featuresLocally executed, rich features

Page 11: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

ClickOnce FeaturesClickOnce Features

Follow a link to install an applicationFollow a link to install an application Automatic w/minimal or no decision pointsAutomatic w/minimal or no decision points web-style deploymentweb-style deployment

Automatic update of applicationAutomatic update of application Security isolation and optional restricted Security isolation and optional restricted

permissionspermissions Non-administrative installsNon-administrative installs

Page 12: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

ClickOnce & VS 2005ClickOnce & VS 2005

Project Settings Project Settings Publish tab Publish tab Set deployment locationSet deployment location Configure data files for deploymentConfigure data files for deployment Other settings: version, online-only or online-Other settings: version, online-only or online-

offline, CD installations and other detailsoffline, CD installations and other details

Project Settings Project Settings Security tab Security tab Calculating permissions required by your Calculating permissions required by your

application to functionapplication to function Also add permissions using SecurityException at Also add permissions using SecurityException at

runtimeruntime

Setting permissions in the manifest required to Setting permissions in the manifest required to runrun

Partial trust and full trust supportedPartial trust and full trust supported

Page 13: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

ClickOnce DeploymentClickOnce Deployment

Alex ThissenAlex ThissenClass-AClass-Ain samenwerking met VBCentralin samenwerking met VBCentral

Page 14: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Application UpdatesApplication Updates

Auto-update deployment optionsAuto-update deployment options Before application launch, orBefore application launch, or Update check occurs after app-launchUpdate check occurs after app-launch Scheduled update checksScheduled update checks

Weekly, monthly, etc.Weekly, monthly, etc.

Project Settings Project Settings Publish tab Publish tab Settings for update checkingSettings for update checking

Page 15: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

ClickOnce Auto-update(Versioning)ClickOnce Auto-update(Versioning)

Alex ThissenAlex ThissenClass-AClass-Ain samenwerking met VBCentralin samenwerking met VBCentral

Page 16: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

Smart Client SummarySmart Client Summary

Rich features easier than ever to Rich features easier than ever to implementimplement Windows Forms 2.0 new controls Windows Forms 2.0 new controls Windows Forms 2.0 improved data integrationWindows Forms 2.0 improved data integration

Installation and update easier than everInstallation and update easier than ever ClickOnce web-style simplicityClickOnce web-style simplicity ClickOnce web-style securityClickOnce web-style security SmartClient rich feature-setSmartClient rich feature-set

Customers access existing and new Customers access existing and new application features easilyapplication features easily

Customers access your application with or Customers access your application with or without network connectivitywithout network connectivity

Page 18: Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.

© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.