Introducing Microsoft Sync Framework


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Introducing Microsoft Sync Framework

  1. 1. IntroducingMicrosoft SyncFramework <br />Alexander Koval<br />Software Architect, MCPD<br />
  2. 2. Agenda<br />What is MS Sync?<br />Sync Participant Types<br />MS Sync Architecture<br />Sync Providers<br />Demo<br />Conflict Resolution<br />Demo<br />What next?<br />Q & A<br />
  3. 3. What is MS Sync?<br />Synchronization platform<br />Cross protocol<br />Cross data store<br /><ul><li>DB
  4. 4. File systems
  5. 5. Data feeds</li></li></ul><li>Participant Types<br />Full Participants<br />Partial Participants<br />Simple Participants<br />
  6. 6. Architecture<br />Sync Application<br />Sync Orchestrator<br />Source Provider<br />Destination Provider<br />DB<br />DB<br />Metadata<br />Metadata<br />
  7. 7. Data Providers<br />Standard Providers<br />DB Synchronization Providers<br />File Synchronization Providers<br />Web Feed Synchronization Providers<br />Custom Providers<br />
  8. 8. SyncOrchestrator<br /> Sample code for using SyncOrchestrator:<br />
  9. 9. DEMO 1<br />(Synchronizing Files to Azure Blobs)<br />
  10. 10. Metadata <br />Allows to track State and Change<br />Versions <br />Creation, Update<br />Each Version <br />Tick Count, Replica ID<br />Knowledge<br />Enumerates changes, Detects conflicts<br />Tombstones<br />
  11. 11. Synchronization Algorithm<br />Session gets destination Replica<br />Session sends destination Replica to Source Provider<br />Source provider determines Change Set<br />Source provider sends Change Set to Session<br />Session applies Change Set to Destination<br />Session<br />Source<br />Provider<br />Destination<br />Provider<br />
  12. 12. Conflict Resolution <br />EnumConflictResolutionPolicy<br />{ ApplicationDefined | DestinationWins | SourceWins }<br />Register EventHandler<br />
  13. 13. DEMO 2<br />(Synchronization via Custom Data Provider)<br />
  14. 14. What next?<br />Tools built on MS Sync Framework<br />Microsoft ActiveSync<br />SQL Azure Data Sync<br />“Denali” project<br />
  15. 15. Summary<br />Introduced MS Sync Framework<br />Reviewed the usage of MS Sync<br />Reviewed Sync Components<br />Conflict Resolution<br />Tools built on MS Sync Framework<br />
  16. 16. Storage in Windows Azure Platform<br />Q & A<br />
  17. 17. Resources<br />Getting started<br /><br />MS Sync Framework 2.0 Redistributable Package<br /><br />Code Gallery<br /><br />Excellent Intro<br /><br />MS Sync with SQL Azure<br /><br />Blog of Liam Cavanagh<br /><br /><br />Blog:<br />