230 likes | 442 Vues
SVC23. Using the Microsoft Sync Framework to Connect Apps to the Cloud. Mark Scurrell Lead Program Manager Microsoft Corporation. Agenda. Why sync? How to sync? Futures Roadmap & Summary. Connecting On-Premises to the Cloud. Sync. On-Premises Applications. Sync.
E N D
SVC23 Using the Microsoft Sync Framework to Connect Apps to the Cloud Mark Scurrell Lead Program Manager Microsoft Corporation
Agenda • Why sync? • How to sync? • Futures • Roadmap & Summary
Connecting On-Premises to the Cloud Sync On-Premises Applications Sync Windows Azure Platform
Synchronization • Why you need sync: • Incremental changes • Unreliable and/or slow network • Conflict detection and resolution • Topology flexibility • How to get sync: • Build it yourself, but sync is not easy! • Use Microsoft Sync Framework
Example Sync Framework Customers Credit Suisse Relational PIM Data SyncToy Files SharePoint 2010 Favorites Relational Lists SharePoint Workspace 2010 (Groove) PricewaterhouseCoopers
SyncFX Application Components Sync Application Configure Configure Sync() Sync Orchestrator Changes Changes Store Sync Provider Sync Provider Store Sync Runtime Sync Runtime
Connecting On-Premises to the CloudSync Framework Two-Tier Demo On-Premises Sync Application Windows Azure Platform Sync Application Sync Orchestrator SQL Azure SQL Server SQL Server Sync Provider SQL Azure Sync Provider TDS Sync Runtime Now available – SQL Azure Data Sync CTP
Offline-Capable Applications Windows Azure Platform • Why? • Availability when occasionally connected or disconnected • Interactive clients query lots of data • Interactive clients require minimal query latency • Reduce server-side load • Reduce network usage Sync Offline-Capable Cached Mode Applications Sync Sync • Examples: • Sales, deliveries, real-estate agents, auditors • Branch office, retail stores • Outlook Exchange Cached Mode
Offline-Capable Applications Windows Azure Platform Client Windows Azure Application Application Browser or Native Queries / Updates ASP.NET / WCF Endpoint Queries / Updates Sync() WCF Sync Endpoint Store Sync Changes Changes
Offline-Capable ApplicationsSyncFX V2 Two-Tier Windows Azure Platform Offline-Capable Client Offline-Capable Application Sync Orchestrator SQL Compact SQL Azure SQL Compact Sync Provider SQL Azure Provider TDS Sync Runtime • Clients authenticate directly with the SQL Azure • Limited server-side business logic possible • Limited client monitoring and management
Offline-Capable ApplicationsSyncFX V2 Three-Tier Offline-Capable Client Windows Azure Platform Offline-Capable Application Windows Azure Application WCF Sync Endpoint Sync Orchestrator SQL Azure SQL Azure Provider SQL Compact SQL Compact Sync Provider SQL Azure Proxy Provider Sync Runtime Sync Runtime • Clients authenticate with Windows Azure application • Can insert server-side business logic • Client monitoring & management possible • Can scale-out and throttle application tier
Offline-Capable ApplicationsLooking Ahead to SyncFX V3 Easy to develop the sync endpoint Define an HTTP-based sync protocol Windows Azure Other Platforms Sync Endpoints Sync FX Store Sync Auth / Mgmt / Bus Logic Sync smarts on server, not on client .NETFX Protocol API Store support .NETFX Protocol API Store support Minimal client & store requirements Sync Sync Sync Richer UX & Capabilities Reach Windows Silverlight HTML
Data Sync Service • Service • End-user application • Little or no development required, mainly configuration • Provide more out-of-the-box, but narrower scope • Pay for use • Scenarios • Client database roaming and sharing; e.g. Access, SQL Server Compact • Offline-capable clients • B2B data integration • Capabilities • Distributed data management, client management & monitoring, user authentication & authorization, scale
Summary Offline-Capable Cached Mode Applications Browser Clients Sync Sync On-Premises Applications Sync Sync Sync Windows Azure Platform Sync Sync Business-to-Business
Further Info • Sync Framework: • MSDN Developer Center: • http://msdn.microsoft.com/en-us/sync/default.aspx • Blog: • http://blogs.msdn.com/sync/ • Please give us feedback: • Email EngageSA@microsoft.com • My contact info: • mark.scurrell@microsoft.com
YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation forms online at MicrosoftPDC.com
Learn More On Channel 9 • Expand your PDC experience through Channel 9 • Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses channel9.msdn.com/learn Built by Developers for Developers….