210 likes | 351 Views
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.
E N D
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 Browser/Desktop Designers & Developers Unified API (documents, media, graphics) Using Hardware (displays & GPUs)
Declarative Development - XAML • eXtensible Application Markup Language • XAML usage • Compiled to produce executable code • Dynamically loaded (parsed or pre-parsed) Code XAML Customer c = new Customer(); c.Id = 1234; Account account = new Account(); Account.Number = 5678; c.Accounts.Add(account); <Customer Id=“1234”> <Accounts> <Account Number=“5678”/> </Accounts> </Customer>
Developer/Designer Tooling Expression Blend Expression Design VS 2008 graphics code XAML
ClickOnce • Simple, secure deployment for rich clients • Deployment choices... • Prerequisites and where to get them • Whether available offline • When & how often to check for updates • Whether 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
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-SQL • But not all the capabilities of SQL Server • 1.8MB redistributable • Fiscally free, must sign online redist. agreement • 5MB memory footprint • 4GB maximum database size • Good integration with VS2008 • Works with LINQ to SQL • Currently available in Beta 2 • Supports Merge Replication and RDA • Does NOT work with ASP.NET
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 Table Sync Table Sync Adapters Sync Agent Client Sync Provider Server Sync Provider Sync Table Sync Table Sync Table Client DB Server DB Sync Group
ADO.NET Sync Services - Architecture Sync Table Sync Table Sync Adapters Sync Agent Client Sync Provider Server Sync Provider P S Sync Table Sync Table Sync Table Client DB Server DB Sync Group
ADO.NET Sync Services - Architecture Any Service Sync Agent Client Sync Provider P S Sync Table Sync Table Sync Table Client DB Sync Group
Summary • Rich Clients... • Presentation • Deployment • Local Relational Store • Offline/Online • Visual Studio 2008 • Expression Blend
Additional Information • Visual Studio 2008 • http://msdn.microsoft.com/vstudio • Windows Presentation Foundation • http://wpf.netfx3.com • http://windowsclient.net • ClickOnce • http://msdn2.microsoft.com/library/t71a733d(VS.80).aspx • SQL Server Compact Edition v3.5 • http://microsoft.com/sql/editions/compact/default.mspx • ADO.NET Synchronization Services • http://msdn2.microsoft.com/library/bb734662(sql.100).aspx
MSDN in the UK • Visit http://msdn.co.uk • Newsletter • Events • Screencasts • Blogs