What’s new for Rich Clients? -...

Preview:

Citation preview

What’s new for Rich Clients?

Martin Parry

Developer & Platform Group

Microsoft Ltd

martin.parry@microsoft.com

http://martinparry.com

Agenda

Visual Studio 2008

Windows Presentation Foundation

ClickOnce

SQL Server Compact Edition v3.5

ADO.NET Synchronization Services

Visual Studio 2008

Expected around the end of this year

We’ll ship .NET FX 3.5 at the same time

No change to your CLR – still v2.0

New language features in C#3 and VB9

Additions, and some changes, to class library

IDE allows you to target specific .NET version

v2.0, v3.0, v3.5

Windows Presentation Foundation

Rich user experiences on the Windows Platform

Designers & Developers

Unified API(documents, media, graphics)

Using Hardware(displays & GPUs)

Browser/Desktop

Declarative Development - XAML

eXtensible Application Markup Language

XAML usageCompiled to produce executable code

Dynamically 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 process

Its data is contained in a single file

Related to SQLCE for mobile devices

Good for...

Local relational store

Offline 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 data

Local store must be SQLCE v3.5

Synchronization can be...Snapshot

Download only

Upload only

Bidirectional

Good support in VS2008

ADO.NET Sync Services - Architecture

Sync Agent

Sync TableSync Table

Sync Table

Client Sync Provider

Client DB

Server Sync Provider

Server DB

Sync TableSync TableSync

Adapters

Sync Group

ADO.NET Sync Services - Architecture

Sync Agent

Sync TableSync Table

Sync Table

Client Sync Provider

Client DB

Server Sync Provider

Server DB

Sync TableSync TableSync

Adapters

P S

Sync Group

ADO.NET Sync Services - Architecture

Sync Agent

Sync TableSync Table

Sync Table

Client Sync Provider

Client DB

P S Any Service

Sync Group

ADO.NET Synchronization Services

Summary

Rich Clients...

Presentation

Deployment

Local Relational Store

Offline/Online

Visual Studio 2008

Expression 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.ukNewsletter

Events

Screencasts

Blogs

© 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.

Recommended