![Page 1: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/1.jpg)
Using the Microsoft Sync Framework to Connect Apps to the CloudMark ScurrellLead Program ManagerMicrosoft Corporation
SVC23
![Page 2: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/2.jpg)
Agenda> Why sync?
> How to sync?
> Futures
> Roadmap & Summary
![Page 3: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/3.jpg)
Connecting On-Premises to the Cloud
Windows Azure Platform
Sync
On-Premises Applications
Sync
![Page 4: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/4.jpg)
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
![Page 5: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/5.jpg)
Example Sync Framework Customers
PricewaterhouseCoopers
Credit Suisse
SyncToy
PIM Data
Files
Relational
Relational
Favorites
Lists
SharePoint 2010
SharePoint Workspace 2010 (Groove)
![Page 6: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/6.jpg)
SyncFX Application Components
Sync Provider
Sync Application
Sync Provider
Sync Orchestrator
Store
Sync Runtime
Store
Sync Runtime
Changes Changes
Sync()
Configure Configure
![Page 7: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/7.jpg)
Synchronizing data between SQL Server and SQL Azure
demo
![Page 8: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/8.jpg)
Connecting On-Premises to the CloudSync Framework Two-Tier Demo
Windows Azure Platform
On-Premises Sync Application
SQL Server Sync
Provider
Sync Application
SQL Azure Sync Provider
Sync Orchestrator
SQL Server
Sync Runtime
SQL Azure
TDS
Now available – SQL Azure Data Sync CTP
![Page 9: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/9.jpg)
Offline-Capable Applications
> 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
> Examples:> Sales, deliveries, real-
estate agents, auditors> Branch office, retail stores> Outlook Exchange Cached
Mode
Offline-Capable Cached ModeApplications
Windows Azure Platform
Sync
Sync
Sync
![Page 10: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/10.jpg)
ClientWindows Azure
Platform
Offline-Capable Applications
Windows Azure
ApplicationASP.NET /
WCFEndpoint
WCFSync
Endpoint
ApplicationBrowser or Native
Store
Sync
Queries / Updates
Sync()
Changes
Queries / Updates
Changes
![Page 11: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/11.jpg)
Windows Azure Platform
Offline-Capable Client
Offline-Capable ApplicationsSyncFX V2 Two-Tier
SQL Compact
Sync Provider
Offline-Capable
Application
SQL Azure Provider
Sync Orchestrator
SQL Compa
ct
Sync Runtime
SQL Azure
• Clients authenticate directly with the SQL Azure
• Limited server-side business logic possible• Limited client monitoring and management
TDS
![Page 12: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/12.jpg)
Synchronizing data between SQL Azure and SQL Compact
demo
![Page 13: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/13.jpg)
Windows Azure Platform
Offline-Capable Client
Offline-Capable ApplicationsSyncFX V2 Three-Tier
SQL Compact
Sync Provider
Offline-Capable
Application
SQL Azure Proxy Provider
Sync Orchestrator
SQL Compa
ctSync
Runtime
Windows Azure Application
SQL Azur
e
SQL AzureProvider
Sync Runtime
WCFSync
Endpoint
• Clients authenticate with Windows Azure application
• Can insert server-side business logic• Client monitoring & management possible• Can scale-out and throttle application tier
![Page 14: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/14.jpg)
>>FUTUREOffline-Capable Applications
Looking Ahead to SyncFX V3
Other Platforms
HTMLWindows
Store
Windows Azure
Sync
SyncSync
Sync
ReachRicher UX & Capabilities
SyncEndpoint
s Auth / Mgmt / Bus Logic
Sync FX
Silverlight
Sync smarts on server, not
on client
Define an HTTP-based
sync protocol
.NETFXProtocol API
Store support
.NETFXProtocol API
Store support
Minimal client & store
requirements
Easy to develop the
sync endpoint
![Page 15: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/15.jpg)
>>FUTURE
Offline-Capable Silverlight Rich Internet Application
demo
![Page 16: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/16.jpg)
>>FUTUREData 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
![Page 17: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/17.jpg)
RoadmapNov’09 –SyncFX Power Pack for SQL Azure CTP• SQL Azure provider• Windows Azure Platform samples• VS tooling add-in• SQL Azure data sync tool for SQL Server
H1’10 – SyncFX V2.1• Sync Framework V2 with full support for Windows Azure Platform• SQL Azure provider and SyncFX deployable to a web role• VS tooling add-in’s• Incremental DB provider improvements
H2’10 – SyncFX V3• Extended client reach via sync protocol and server/service-side sync• Alignment with “online” frameworks• VS tooling for client and server/service
![Page 18: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/18.jpg)
Summary
On-Premises Applications
Sync
SyncSync
Offline-Capable Cached ModeApplications
Sync
Sync
Sync
Sync
Browser Clients
Business-to-
Business
Windows Azure Platform
![Page 19: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/19.jpg)
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 [email protected]
> My contact info:> [email protected]
![Page 20: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/20.jpg)
YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation
forms online atMicrosoftPDC.com
![Page 21: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/21.jpg)
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/learnBuilt by Developers for Developers….
![Page 22: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/22.jpg)
© 2009 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.
![Page 23: Using the Microsoft Sync Framework to Connect Apps to the Cloud](https://reader035.vdocument.in/reader035/viewer/2022062400/5681697b550346895de17f35/html5/thumbnails/23.jpg)