What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd...

Post on 23-Dec-2015

221 views 0 download

Tags:

Transcript of What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd...

What’s new for Rich Clients?

Martin ParryDeveloper & Platform GroupMicrosoft Ltdmartin.parry@microsoft.com http://martinparry.com

Agenda

Visual Studio 2008Windows Presentation FoundationClickOnceSQL Server Compact Edition v3.5ADO.NET Synchronization Services

Visual Studio 2008

Expected around the end of this yearWe’ll ship .NET FX 3.5 at the same timeNo change to your CLR – still v2.0New language features in C#3 and VB9Additions, and some changes, to class libraryIDE allows you to target specific .NET version

v2.0, v3.0, v3.5

Windows Presentation Foundation

Rich user experiences on the Windows Platform

Designers & DevelopersDesigners & Developers

Unified APIUnified API(documents, media, graphics)(documents, media, graphics)

Using HardwareUsing Hardware(displays & GPUs)(displays & GPUs)

Browser/DesktopBrowser/Desktop

Declarative Development - XAML

eXtensible Application Markup Language

XAML usageCompiled to produce executable codeDynamically loaded (parsed or pre-parsed)

Customer c = new Customer();c.Id = 1234;

Account account = new Account();Account.Number = 5678;c.Accounts.Add(account);

Code

<Customer Id=“1234”> <Accounts> <Account Number=“5678”/> </Accounts></Customer>

XAML

Developer/Designer Tooling

Expression BlendExpression Design

graphics

VS 2008

code

XAML

Windows Presentation Foundation

ClickOnce

Simple, secure deployment for rich clientsDeployment choices...

Prerequisites and where to get themWhether available offlineWhen & how often to check for updatesWhether to force update to a minimum version

Works with Windows Forms, WPF, etc.Shipped with .NET FX v2.0.NET FX v3.5 sees Firefox support

Needs a FireFox plug-in

ClickOnce

SQL Server Compact Edition v3.5

It’s a database engine, but...Runs in-process with your host processIts data is contained in a single file

Related to SQLCE for mobile devicesGood for...

Local relational storeOffline data cache

SQLCE Details

Supports T-SQLBut not all the capabilities of SQL Server

1.8MB redistributableFiscally free, must sign online redist. agreement

5MB memory footprint4GB maximum database sizeGood integration with VS2008Works with LINQ to SQLCurrently available in Beta 2Supports Merge Replication and RDADoes NOT work with ASP.NET

SQL Server Compact Edition

ADO.NET Synchronization Services

Provide a uniform API for synchronizing local and remote dataLocal store must be SQLCE v3.5Synchronization can be...

SnapshotDownload onlyUpload onlyBidirectional

Good support in VS2008

ADO.NET Sync Services - Architecture

Sync AgentSync Agent

Sync TableSync TableSync TableSync Table

Client Sync Client Sync ProviderProvider

Client DBClient DB

Server Sync Server Sync ProviderProvider

Server DBServer DB

Sync TableSync TableSync Sync AdaptersAdapters

Sync GroupSync Group

ADO.NET Sync Services - Architecture

Sync AgentSync Agent

Sync TableSync TableSync TableSync Table

Client Sync Client Sync ProviderProvider

Client DBClient DB

Server Sync Server Sync ProviderProvider

Server DBServer DB

Sync TableSync TableSync Sync AdaptersAdapters

PPPP SSSS

Sync GroupSync Group

ADO.NET Sync Services - Architecture

Sync AgentSync Agent

Sync TableSync TableSync TableSync Table

Client Sync Client Sync ProviderProvider

Client DBClient DB

PPPP SSSS Any ServiceAny Service

Sync GroupSync Group

ADO.NET Synchronization Services

Summary

Rich Clients...PresentationDeploymentLocal Relational StoreOffline/Online

Visual Studio 2008Expression Blend

Additional Information

Visual Studio 2008http://msdn.microsoft.com/vstudio

Windows Presentation Foundationhttp://wpf.netfx3.com http://windowsclient.net

ClickOncehttp://msdn2.microsoft.com/library/t71a733d(VS.80).aspx

SQL Server Compact Edition v3.5http://microsoft.com/sql/editions/compact/default.mspx

ADO.NET Synchronization Serviceshttp://msdn2.microsoft.com/library/bb734662(sql.100).aspx

MSDN in the UK

Visit http://msdn.co.uk NewsletterEventsScreencastsBlogs

© 2007 Microsoft Ltd. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the

date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.