SlideShare une entreprise Scribd logo
Gregory Renard CTO – Research & Innovation Mgr www.Wygwam.com
Introduction à Microsoft Sync Framework Comment synchroniser à partir de Microsoft Sync Framework Dossiers/Fichiers Données RSS/XML/Favorits Et plus encore ... Sharepoint, Outlook, Live, ... Comment étendre Microsoft Sync Framework
 
L’ouverture vers le SaaS ou S+S! Votre nouvelle Generation d’applications
Connectées Source de  données  unique Database driven Hard codées Monolithiques  & rigides Connectées  occasionnellement Sources de données multiples Information based Model driven SOA, SaaS, S+S
Microsoft Sync Framework  libère  vos données, permettant : Offline et gestion du cache de vos applications Roaming et partage de vos données Désencombrement  de la collaboration Et plus encore
Microsoft Sync Framework * : Occasionally Connected Systems
 
Download, Install et Exploitation !
CTP1/CTP2SyncSetup  :  Le Framework Sync ainsi que son Runtime CTP1SyncServicesADO  :  Les providers et outils ADO http://msdn.microsoft.com/sync
 
Public Class  MySyncController Public Sub  SynchronizeFolders() Dim  SyncAgent  As New  SyncAgent Dim  LocalProvider  As New FileSyncProvider (mySourceReplicaId, _ "c:\folder1" ) Dim  RemoteProvider  As New FileSyncProvider (myDestinationReplicaId, _ "d:\folder2" ) With SyncAgent .LocalProvider = LocalProvider .RemoteProvider = RemoteProvider .Synchronize() End With End Sub End Class
La clé de cette plateforme est la notion de Provider  (Sources de données participantes  au processus de synchronisation)  Les providers sont extensibles.  MSF fournit déjà quelques providers de base qui sont : Sync Service pour « ADO.NET » ( Microsoft.Synchronization.Data )  Sync Service pour « File Systems » ( Microsoft.Synchronization.Files ) Sync Service pour « SSE » ( Microsoft.Synchronization.Sse ) MSF est une plateforme de synchronisation permettant la  collaboration et le mode déconnecté pour des applications,  services et devices.
Participants « Complets » Participants « Partiels » Participants « Simples » Un participant est l’endroit où se trouve l’information. Un participant peut être un webservice, un ordinateur, une clé  USB, etc…
 
Meta Data Meta Data Sync Services Provider (Source) Sync Application Sync Agent Data Store Data Store changes changes changes Sync Services Provider (Destination) Sync Runtime Sync Runtime
SyncAdapter ServerSyncProvider Sync Adapter commands Data Forms SyncAgent Data Access Fonctionne en locals Outlook Model Sync maintient les stockages locaux et distants dans la synchronisation Pousse directement les changement ou via Services SyncTable DBCommand SQL Server  Everywhere Edition Client SyncProvider SyncGroup Server DB Transport Service Service Proxy
Data Forms SyncAgent Data Access SyncTable SQL Server  Everywhere Edition Client SyncProvider Les composants clients peuvent consommer n’importe quel type de service Sync Chaque service requière un proxy Transport RSS, Custom,  Java, interop… Custom Proxy
 
“ Je souhaite synchroniser deux EndPoints …” Instancier et configurer Sync Providers pour ces EndPoints Instancier et exécuter le Sync Agent “ Mais s’il n’existe pas de Provider pour mon EndPoint ?...” Construisez facilement votre propre Provider à partir des services Sync Framework. Ajoutez vos scénarios afin d’optimiser les performances et les fonctionnalités Et mixez les EndPoints …
 
Deux Providers, Deux Rôles :  Source (Expéditeur) :  Expédie  les modifications Destination (Receveur) :  Applique  les modifications Sync Provider (source) Sync Agent Data Store Data Store changes changes changes Sync Provider (destination)
Énumère les changements Sync par incrémentation Juste énumérer les changements non opérés sur la source de destination Ne fait pas : Détection de conflits Apporte les modification à sa source
Applique les changement à sa source de données Responsible de : Détecter les conflits “Y a-t-il des changements en conflits avec ma base locale ?” et Résoud les conflits  (Si paramétré): Choix du vainceur Ignore les changements ?
Synchronisation de contacts Creation de multi-providers (EndPoints)
 
Introduction au Microsoft Sync Framework Microsoft Sync Framework Core  Concepts Sync Session : Sync Agent Provider Model Source Destination Synchronisation de : Dossiers / Fichiers Base de données Modèles étendus : Office 2007 (Outlook), SharePoint, Mobile, ... Construisez vos propres provider basés sur Sync Framework
Sync and Roaming Developer Center http://msdn.microsoft.com /sync SDK (including documentation) Whitepapers Samples (including several end-to-end) Venez me rencontrer Discutons du .NET Fx 3.5 et de Microsoft Sync Framework plus en détails Discutons des scénarios de synchronisation [email_address] http://blogs.developpeur.org/redo
© 2007 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.
From desktop to data center From 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 to the largest data center, enabling business insight Clients Serveurs
SQL Server Line of Business  Pocket Outlook

Contenu connexe

PPTX
Microsoft Sync Framework Fr
PPTX
Présentation Granite ds lyon 2011 par William Draï
PPTX
SQL Azure Data Sync ou comment synchroniser vos données avec le Cloud ?
PDF
La collaboration dans Exchange : comparaison on premises et online
PPT
О "Лигал Сити"
PPT
α τάξη κεφ 5ο σελ 34
PPT
Akbid Power Baru
PPT
Bonvl1 Le Verbe Etre Au Singulier
Microsoft Sync Framework Fr
Présentation Granite ds lyon 2011 par William Draï
SQL Azure Data Sync ou comment synchroniser vos données avec le Cloud ?
La collaboration dans Exchange : comparaison on premises et online
О "Лигал Сити"
α τάξη κεφ 5ο σελ 34
Akbid Power Baru
Bonvl1 Le Verbe Etre Au Singulier

En vedette (20)

PDF
【名古屋大学】平成21年環境報告書
PPT
7.11.2009. Ppt
PDF
PPTX
Activid ad glosario[3[2
PPTX
Baby
PPTX
Nite Event 2009 Het Nieuwe Werken
PPS
My Title
PPT
Ms Power Point
PDF
Intranet Enterprise 2.0 in Indesit
PPSX
Bim Stumico 24 september 2009
PPT
Qurtauli Tamari
PPS
No Dudaría...
PPT
2009/09/02 meeting
PPT
Atsiskaitomasis Darbas
PPSX
Booznet
PPTX
Flashs carnaval 2014
PPT
Case 3 Data
PPS
Prezentare Relazzo
PDF
Us Education
PPS
婚姻帳單
【名古屋大学】平成21年環境報告書
7.11.2009. Ppt
Activid ad glosario[3[2
Baby
Nite Event 2009 Het Nieuwe Werken
My Title
Ms Power Point
Intranet Enterprise 2.0 in Indesit
Bim Stumico 24 september 2009
Qurtauli Tamari
No Dudaría...
2009/09/02 meeting
Atsiskaitomasis Darbas
Booznet
Flashs carnaval 2014
Case 3 Data
Prezentare Relazzo
Us Education
婚姻帳單
Publicité

Plus de Gregory Renard (20)

PPTX
WygDay - Session Innovation xBrainLab
PPTX
WygDay 2010
PPT
PPTX
Approach the future of tourism by the new Technologies
PPTX
Approach the future of cities by the singularity of technologies !
PPTX
Wygday 2009 Session Innovation
PPT
Net 2007 Faire Du E Commerce Dans Les Mv
PPTX
Wygday Session PléNièRe (2)
PPTX
Wygday Session PléNièRe (1)
PPTX
Wygday 2008
PPT
Web Services
PPTX
Vs2008 Linq
PPTX
Vs2008 Breakthrough Software Dev
PPT
Vs2008 Ms Lux
PPTX
Visual Studio 2008 Overview
PPTX
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
PPT
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
PPTX
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
PPT
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
PPT
Tour Horizont.Net
WygDay - Session Innovation xBrainLab
WygDay 2010
Approach the future of tourism by the new Technologies
Approach the future of cities by the singularity of technologies !
Wygday 2009 Session Innovation
Net 2007 Faire Du E Commerce Dans Les Mv
Wygday Session PléNièRe (2)
Wygday Session PléNièRe (1)
Wygday 2008
Web Services
Vs2008 Linq
Vs2008 Breakthrough Software Dev
Vs2008 Ms Lux
Visual Studio 2008 Overview
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
Tour Horizont.Net
Publicité

Microsoft Sync Framework Fr

  • 1. Gregory Renard CTO – Research & Innovation Mgr www.Wygwam.com
  • 2. Introduction à Microsoft Sync Framework Comment synchroniser à partir de Microsoft Sync Framework Dossiers/Fichiers Données RSS/XML/Favorits Et plus encore ... Sharepoint, Outlook, Live, ... Comment étendre Microsoft Sync Framework
  • 3.  
  • 4. L’ouverture vers le SaaS ou S+S! Votre nouvelle Generation d’applications
  • 5. Connectées Source de données unique Database driven Hard codées Monolithiques & rigides Connectées occasionnellement Sources de données multiples Information based Model driven SOA, SaaS, S+S
  • 6. Microsoft Sync Framework libère vos données, permettant : Offline et gestion du cache de vos applications Roaming et partage de vos données Désencombrement de la collaboration Et plus encore
  • 7. Microsoft Sync Framework * : Occasionally Connected Systems
  • 8.  
  • 9. Download, Install et Exploitation !
  • 10. CTP1/CTP2SyncSetup  : Le Framework Sync ainsi que son Runtime CTP1SyncServicesADO  : Les providers et outils ADO http://msdn.microsoft.com/sync
  • 11.  
  • 12. Public Class MySyncController Public Sub SynchronizeFolders() Dim SyncAgent As New SyncAgent Dim LocalProvider As New FileSyncProvider (mySourceReplicaId, _ "c:\folder1" ) Dim RemoteProvider As New FileSyncProvider (myDestinationReplicaId, _ "d:\folder2" ) With SyncAgent .LocalProvider = LocalProvider .RemoteProvider = RemoteProvider .Synchronize() End With End Sub End Class
  • 13. La clé de cette plateforme est la notion de Provider (Sources de données participantes au processus de synchronisation) Les providers sont extensibles. MSF fournit déjà quelques providers de base qui sont : Sync Service pour « ADO.NET » ( Microsoft.Synchronization.Data )  Sync Service pour « File Systems » ( Microsoft.Synchronization.Files ) Sync Service pour « SSE » ( Microsoft.Synchronization.Sse ) MSF est une plateforme de synchronisation permettant la collaboration et le mode déconnecté pour des applications, services et devices.
  • 14. Participants « Complets » Participants « Partiels » Participants « Simples » Un participant est l’endroit où se trouve l’information. Un participant peut être un webservice, un ordinateur, une clé USB, etc…
  • 15.  
  • 16. Meta Data Meta Data Sync Services Provider (Source) Sync Application Sync Agent Data Store Data Store changes changes changes Sync Services Provider (Destination) Sync Runtime Sync Runtime
  • 17. SyncAdapter ServerSyncProvider Sync Adapter commands Data Forms SyncAgent Data Access Fonctionne en locals Outlook Model Sync maintient les stockages locaux et distants dans la synchronisation Pousse directement les changement ou via Services SyncTable DBCommand SQL Server Everywhere Edition Client SyncProvider SyncGroup Server DB Transport Service Service Proxy
  • 18. Data Forms SyncAgent Data Access SyncTable SQL Server Everywhere Edition Client SyncProvider Les composants clients peuvent consommer n’importe quel type de service Sync Chaque service requière un proxy Transport RSS, Custom, Java, interop… Custom Proxy
  • 19.  
  • 20. “ Je souhaite synchroniser deux EndPoints …” Instancier et configurer Sync Providers pour ces EndPoints Instancier et exécuter le Sync Agent “ Mais s’il n’existe pas de Provider pour mon EndPoint ?...” Construisez facilement votre propre Provider à partir des services Sync Framework. Ajoutez vos scénarios afin d’optimiser les performances et les fonctionnalités Et mixez les EndPoints …
  • 21.  
  • 22. Deux Providers, Deux Rôles : Source (Expéditeur) : Expédie les modifications Destination (Receveur) : Applique les modifications Sync Provider (source) Sync Agent Data Store Data Store changes changes changes Sync Provider (destination)
  • 23. Énumère les changements Sync par incrémentation Juste énumérer les changements non opérés sur la source de destination Ne fait pas : Détection de conflits Apporte les modification à sa source
  • 24. Applique les changement à sa source de données Responsible de : Détecter les conflits “Y a-t-il des changements en conflits avec ma base locale ?” et Résoud les conflits (Si paramétré): Choix du vainceur Ignore les changements ?
  • 25. Synchronisation de contacts Creation de multi-providers (EndPoints)
  • 26.  
  • 27. Introduction au Microsoft Sync Framework Microsoft Sync Framework Core Concepts Sync Session : Sync Agent Provider Model Source Destination Synchronisation de : Dossiers / Fichiers Base de données Modèles étendus : Office 2007 (Outlook), SharePoint, Mobile, ... Construisez vos propres provider basés sur Sync Framework
  • 28. Sync and Roaming Developer Center http://msdn.microsoft.com /sync SDK (including documentation) Whitepapers Samples (including several end-to-end) Venez me rencontrer Discutons du .NET Fx 3.5 et de Microsoft Sync Framework plus en détails Discutons des scénarios de synchronisation [email_address] http://blogs.developpeur.org/redo
  • 29. © 2007 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.
  • 30. From desktop to data center From 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 to the largest data center, enabling business insight Clients Serveurs
  • 31. SQL Server Line of Business Pocket Outlook

Notes de l'éditeur

  • #2: 11/11/09 19:08 © 2007 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.
  • #4: Qui est Wygwam ? Wygwam est un bureau d’expertise technologique situé en France et en Belgique. Wygwam est la plus forte concentration de MVPs en Europe avec 6MVPs et un RD. Nous sommes organisés en pôles de compétences, chacun d’eux dirigé par un MVP et devant délivrer 3 types de services à la clientèle. Nos pôles de compétence sont : Technology Fundamentals (TF) – Dirigé par Grégory Renard, MVP et RD, en charge de la stratégie générale de Wygwam et de Microsoft .NET en général. Online Strategies & Tactics (OST) – Dirigé par Aurélien Verla, MVP, en charge de l’intégration des technologies de l’Internet dans vos solutions (Technologies comme <Lire les technos> Collaboration & Portal Team (CPT) – Dirigé par Renaud Compte, MVP, en charge de la stratégie d’intégration de portails collaboratifs dans vos infrastructures d’entreprise (Technologies comme <Lire les technos> Nos métiers sont : Le coaching: <Lire les points> Le développement de pointe: <Lire les points> Les services packagés: <Lire les points> Pour plus d’information : www.wygwam.com
  • #12: 11/11/09 19:08 © 2007 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.
  • #15: Participant complet (« Full Participant »)  : décrit des participants où le développeur peut exécuter une application et créer des sources des données directement sur le device. (exemple : ordinateur portable, smartphone, …) Participant partiel (« Partial Participant »)  : décrit des devices qui peuvent contenir des données mais ne pas exécuter d’application directement dessus. On retrouvera ici des devices amovible comme des cartes SD qui peuvent contenir des données mais pas exécuter une application directement depuis le device. Participant simple (« Simple Participant »)  : décrit des participants capable de fournir de l’information mais sans possibilité de stocker ou manipuler de nouvelles données. On retrouvera ici des webservices et/ou flux RSS/ATOM.
  • #20: 11/11/09 19:08 © 2007 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.
  • #26: 11/11/09 19:08 © 2007 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.
  • #30: 11/11/09 19:08 © 2007 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.