Introducing Microsoft Sync Framework

1,240 views

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 />http://msdn.microsoft.com/ru-ru/library/bb902854.aspx<br />MS Sync Framework 2.0 Redistributable Package<br />http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=18241<br />Code Gallery<br />http://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=SearchText&f%5B0%5D.Value=Microsoft%20Sync%20Framework&f%5B1%5D.Type=Affiliation&f%5B1%5D.Value=Official&f%5B1%5D.Text=Microsoft<br />Excellent Intro<br /> http://msdn.microsoft.com/en-us/sync/bb821992<br />MS Sync with SQL Azure<br />http://www.microsoft.com/windowsazure/features/database/#data-sync<br />Blog of Liam Cavanagh<br />http://blogs.msdn.com/b/sync/archive/2010/06/07/introducing-data-sync-service-for-sql-azure.aspx<br />Email:akoval@codemastersintl.com<br />Blog:http://www.codemastersintl.com/Blogs/Alexander-Koval<br />

×