Occasionally Connected Applications

An occasionally connected application is an application that uses data from a remote database but that might not always have access to the remote database. Occasionally connected applications are also used when access is continuously available but it might not be efficient to continuously query the remote database for data that is rarely changed (such as a list of states). In these situations, applications can use data from a local database located on the client and periodically synchronize the data with the remote database.

The following topics explain how to configure an application to use a local database cache to store data on the client. They also show how to synchronize changed data between the client and server databases.

Occasionally Connected Applications Overview

Describes how to incorporate synchronization between a local SQL Server Compact 3.5 database and a remote database on a server into your applications.

How to: Configure Data Synchronization in an Application

Provides instructions for adding a local data cache to your application and configuring it.

How to: Initiate Synchronization Between Local and Remote Databases

Provides instructions for adding code to an application to initiate synchronization of local and remote databases.

How to: Configure a Local and Remote Database for Bidirectional Synchronization

Provides instructions for configuring synchronization to upload client changes to the server in addition to downloading server changes to the client.

Walkthrough: Creating an Occasionally Connected Application

Provides step-by-step instructions for adding and configuring a local database cache to a project and for adding synchronization functionality to a data-bound Windows Form.

Walkthrough: Deploying an Occasionally Connected Client Application with the Local Database

Provides step-by-step instructions for deploying an application together with a local database cache.

N:Microsoft.Synchronization.Data

This namespace contains the common synchronization classes.

What's New in Data

Provides information and links to new data features for client and data-tier applications.

SQL Server Compact 3.5 and Visual Studio

Provides a brief introduction to SQL Server Compact 3.5.

Walkthrough: Adding a Local Database Cache to an N-Tier Application

Provides step-by-step instructions for incorporating Microsoft Synchronization Services for ADO.NET to the application created in the n-tier data application walkthrough.

N-Tier Data Applications

Provides links to topics on using Visual Studio to assist in creating n-tier applications.

Occasionally Connected Applications (Devices)

Describes how to incorporate synchronization between a local SQL Server Compact 3.5 database and a remote database on a server into your smart device applications.

Walkthrough: Creating an Occasionally Connected Smart Device Application

Provides step-by-step instructions for creating an n-tier smart device application that synchronizes its local database cache with a remote database through a Windows Communication Foundation (WCF) service.

Community Additions

ADD
Show: