Session 1: Building Rich Clients on the Microsoft Platform

21
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd [email protected] http://martinparry.com

description

What's new in Smart Client Development Do you build rich client applications? If so, you'll want to make sure that you're aware of all Microsoft's client-development technology. This event will showcase a wealth of new and forthcoming technology, including Visual Studio 2008. Agenda: Session 1: Building Rich Clients on the Microsoft Platform - Martin Parry People want compelling user experiences supported by powerful online services. Microsoft's platform and tools empower developers to build both the rich client and the service. In this session we'll concentrate on some recent and forthcoming technologies that enable rich client apps: Visual Studio 2008, WPF, SQL Server Compact Edition and ClickOnce to name but a few. Session 2: Office as a development platform with Visual Studio 2008 - Daniel Moth The 2007 Microsoft Office System is extensible like never before. In this session we'll look at the numerous ways to extend the various Office applications such as Word, Excel, Outlook and others. Customisations demonstrated will include the new designers and templates for the Ribbon, Actions Pane, Task Pane, Content Controls and Form Regions. This will all be done in managed code from within Visual Studio 2008 and we will also see how to interop in both directions with VBA code. For more details and the original slidedeck visit http://www.microsoft.com/uk/msdn/events/new/Detail.aspx?id=115

Transcript of Session 1: Building Rich Clients on the Microsoft Platform

Page 1: Session 1: Building Rich Clients on the Microsoft Platform

What’s new for Rich Clients?

Martin ParryDeveloper & Platform GroupMicrosoft [email protected] http://martinparry.com

Page 2: Session 1: Building Rich Clients on the Microsoft Platform

Agenda

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

Page 3: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 4: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 5: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 6: Session 1: Building Rich Clients on the Microsoft Platform

Developer/Designer Tooling

Expression BlendExpression Design

graphics

VS 2008

code

XAML

Page 7: Session 1: Building Rich Clients on the Microsoft Platform

Windows Presentation Foundation

Page 8: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 9: Session 1: Building Rich Clients on the Microsoft Platform

ClickOnce

Page 10: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 11: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 12: Session 1: Building Rich Clients on the Microsoft Platform

SQL Server Compact Edition

Page 13: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 14: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 15: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 16: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 17: Session 1: Building Rich Clients on the Microsoft Platform

ADO.NET Synchronization Services

Page 18: Session 1: Building Rich Clients on the Microsoft Platform

Summary

Rich Clients...PresentationDeploymentLocal Relational StoreOffline/Online

Visual Studio 2008Expression Blend

Page 19: Session 1: Building Rich Clients on the Microsoft Platform

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

Page 20: Session 1: Building Rich Clients on the Microsoft Platform

MSDN in the UK

Visit http://msdn.co.uk NewsletterEventsScreencastsBlogs

Page 21: Session 1: Building Rich Clients on the Microsoft Platform

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