Book description
The Sync Framework is Microsoft's innovation to address the dilemma of occasionally connected systems. It is a comprehensive synchronization platform that enables collaboration and offline access for applications, services, and devices. In particular, it features technologies and tools that enable device roaming, sharing, and the ability to take networked data offline before synchronizing it back to the networked application at a later time.
Pro Sync Framework concludes with a working example that shows how the techniques you've learned can be used to create a versatile application, adaptable to a wide variety of connectivity and synchronization challenges.
Table of contents
- Copyright
- Foreword
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- 1. Introduction to the Microsoft Sync Framework
- 2. Microsoft Sync Framework Metadata
-
3. Working with Synchronization Providers: Part 1
- 3.1. What Is a Sync Provider?
- 3.2. Synchronizing Two Replicas Using Built-in Providers
- 3.3. Creating a Synchronization Provider
-
3.4. Provider Writer Tasks
- 3.4.1. Change Tracking
- 3.4.2. Change Enumeration
- 3.4.3. Conflict Handling
- 3.4.4. Conflict Detection
- 3.4.5. Resolving Conflicts
- 3.4.6. Saving the Changes
- 3.4.7. Sample Synchronization Provider for Synchronizing SQL Server Databases
- 3.4.8. MySyncProvider.cs
- 3.4.9. Overriding Provider Methods
- 3.4.10. Creating New Customer Records
- 3.4.11. Synchronizing Replicas
- 3.4.12. Running the Sample Application
- 3.4.13. Synchronizing New Records
- 3.4.14. Detecting and Handling Conflicts
- 3.4.15. Synchronize Deleted Records
- 3.4.16. Finishing Synchronization
- 3.5. Summary
-
4. Working with Synchronization Providers: Part 2
- 4.1. Change Units
- 4.2. Creating Providers That Use Asynchronous Change Tracking
- 4.3. Summary
-
5. Working with File Synchronization Providers
- 5.1. Sync Framework Core Components
- 5.2. File Sync Provider
- 5.3. Sync Services Components for File Systems
- 5.4. Synchronizing Files and Folders Using Unmanaged Code
- 5.5. Synchronizing Files and Folders Using Managed Code
- 5.6. Microsoft.Synchronization.Files Namespace
- 5.7. Implementing a Sample Application
- 5.8. Summary
-
6. Microsoft Sync Framework Metadata Storage Service
- 6.1. Metadata Storage Service
- 6.2. Built-in SQL Server CE Metadata Store
-
6.3. Implementing the Custom Metadata Store
- 6.3.1. Creating a Custom Metadata Store
- 6.3.2. Properties
-
6.3.3. Methods
- 6.3.3.1. Creating a Metadata Store
- 6.3.3.2. Initializing the Metadata Store
- 6.3.3.3. Searching, Manipulating, and Saving Item Metadata.
- 6.3.3.4. Manipulating and Saving the Replica ID
- 6.3.3.5. Manipulating and Saving Current and Forgotten Knowledge
- 6.3.3.6. Manipulating and Saving Tick Count
- 6.3.3.7. Releasing the Metadata Store at the End of the Sync Session
- 6.3.4. Changing the Custom Sync Provider to Use the Custom Metadata Store
- 6.3.5. Changing the Application to Use the Changed Custom Sync Provider
- 6.4. Summary
-
7. Working with RSS Sync Feeds
- 7.1. Sync Services for FeedSync
- 7.2. Microsoft.Synchronization.FeedSync Namespace
- 7.3. Why Use FeedSync?
- 7.4. How Does FeedSync Work?
- 7.5. Producing RSS and Atom Feeds Using Managed and Unmanaged Code
- 7.6. Consuming RSS and Atom Feeds Using Managed and Unmanaged Code
- 7.7. Converting IDs and ItemData
- 7.8. Summary
-
8. Sync Services for ADO.NET 2.0: Offline Scenarios
- 8.1. Occasionally Connected and Peer to Peer Systems
- 8.2. Offline Scenarios Architecture
-
8.3. Code Examples of Common Tasks
- 8.3.1. Exploring the Sync Services for ADO.NET 2.0 API
- 8.3.2. Local Database Cache Using Visual Studio 2008
- 8.3.3. Enabling Change Tracking in a Server Database
- 8.3.4. MySync.sync
- 8.3.5. Complete Synchronization Code Sample
- 8.3.6. Synchronization Direction
- 8.3.7. Synchronize Command
- 8.3.8. SyncStatistics
- 8.4. Summary
-
9. Synchronization Services for ADO.NET 2.0: Peer-to-Peer Synchronization
- 9.1. Collaboration Scenario: Peer-to-Peer Synchronization
- 9.2. Sync Services for ADO.NET 2.0 APIs for Collaboration
- 9.3. Sample Application for Two-Tier Peer-to-Peer Synchronization
-
9.4. Solution Structure of the Sample Peer-to-Peer Sync Application
- 9.4.1. Implementing Change Tracking and Change Enumeration
- 9.4.2. Configuring the Sync Adapter
- 9.4.3. Configuring the Sync Provider
- 9.4.4. Synchronizing the Application
- 9.4.5. Form Load
- 9.4.6. Synchronizing Peers
- 9.4.7. Reporting Sync Progress
- 9.4.8. Executing Operations
- 9.4.9. Running the Application for Two-Tier Peer-to-Peer Synchronization
- 9.4.10. Handling Conflicts
- 9.4.11. Cleaning Metadata
- 9.4.12. N-Tier Peer-to-Peer Synchronization
- 9.4.13. Creating the Remote WCF Service
- 9.4.14. Adding a Service Reference
- 9.4.15. Creating a Local Proxy
- 9.4.16. Nonimplemented Methods
- 9.4.17. Configuring a Sync Agent for N-Tier Synchronization
- 9.4.18. Running the Application
- 9.5. Summary
- A. Sync Framework Library Reference
Product information
- Title: Pro Sync Framework
- Author(s):
- Release date: November 2008
- Publisher(s): Apress
- ISBN: 9781430210054
You might also like
video
Meet the Expert: Kip Harkness and Tim O'Reilly on Turning Your City's COVID-19 Response into an Agile Action Plan
The city of San Jose, located in the heart of Santa Clara County, is one of …
book
Windows File System Troubleshooting
The Windows file system is large and complex, featuring not only a huge number of essential …
book
Lead Designer's Handbook
This book sets out how the Lead Designer can perform effectively and efficiently in the digital …
book
Architecting Microsoft Azure Solutions - Exam Guide 70-535
Get certified as an Azure architect by acing the 70-535 Architecting Microsoft Solutions (70-535) exam using …