Download presentation
Presentation is loading. Please wait.
Published byMavis Hancock Modified over 9 years ago
2
Steve Lasker Program Manager Microsoft Corporation blogs.msdn.com/SteveLasker PC40
6
ClientsServers From desktop to data centerFrom embedded devices to desktops Synchronizing data from the point of activity to the data center Enabling data movement from the smallest device, capturing data at the point of activity through the largest data center, to the offsite cloud Cloud To hosted services
9
What good is a database if you can’t deploy it?
10
Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")
11
DLL NameFunctionalitysqlcese35.dll Native* Storage Engine sqlceqp35.dll Native* Query Processor sqlceme35.dll Native / Managed Translation Layer System.Data.SqlServerCe.dll ADO.NET Managed Provider sqlcecompact35.dll Compression & Upgrade APIs sqlceca35.dll Merge Replication, RDA Client APIs Only needed for Merge & RDA, Not needed for Sync Services for ADO.NET sqlceoledb35.dll OleDB API –Needed for C++, VB Classic, & Merge/RDA OleDB APIs Designed for Mobile Devices Not a full desktop OleDB Implementation sqlceer35EN.dll Localized Error Strings Only needed when errors returned directly to the user
13
SQL Server (Express*) Shared Data Services SQL Server Compact Local Data Documents Multiple Connections from multiple clients Multiple Connections from multiple processes & threads Runs as a service Runs In-Proc w/Application Multi-proc access through shared memory Connection Pooling through SqlClient Connections through SqlCeConnection Query Plans cached in SQL Server Engine Query Plans cached in SqlCeCommand object
14
Eeeking out that extra bit of performance
19
How to see what’s happening at the client? How to see what’s happening at the client? Clients aren’t reachable Clients aren’t reachable Either aren’t Online when you need them Either aren’t Online when you need them Or they’re not addressable with a static IP Or they’re not addressable with a static IP What to do? What to do? Phone home? Phone home?
20
Web Service TraceListener Web Service TraceListener try { barcode = scanner.Scan(); } catch (Exception ex) { Trace.WriteLine("Scan Failed - " + ex.Message, "Barcode Scanner"); } Trace.Listeners.Add(new WebServiceTraceListner("http://MyTraceService.svc")) try { productInfo = productSvc.GetProductInf(barcode); } catch (NetworkException ex) { Trace.WriteLine(“UnableToConnect - " + ex.Message, “Product Lookup") }
21
Sync Services to move Log info when a connection is available Sync Services to move Log info when a connection is available Compact TraceListener Compact TraceListener try { productInfo = productSvc.GetProductInf(barcode); } catch (NetworkException ex) { Trace.WriteLine(“UnableToConnect - " + ex.Message, “Product Lookup") } Trace.Listeners.Add( new SqlCeTraceListner("Log.sdf", "http://LogSyncService.svc"));
22
Getting visibility to what’s actually going on
25
ClickOnce, w/.NET FX 3.5 enables file associations
28
TL40 Microsoft Sync Framework Advances – Lev NovikDay 1 PC45 WPF: Data-centric Applications Using the DataGrid and Ribbon Controls - Samantha Durante, Mark Wilson-Thomas Day 4-Noon BB15 SQL Server: Database to Data Platform - Road from Server to Devices to the Cloud – David CampbellDay 1 TL08 Offline-Enabled Data Services and Desktop Applications – Pablo Castro Day 3 BB40 Sync Framework: Enterprise Data in the Cloud and on Devices – Liam Cavanaugh Day 2
30
Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com
32
© 2008 Microsoft Corporation. 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.