Data DirectoriesWhere did your data files go? With ClickOnce we have yet another location to place data files. There are several different API’s to identify a Data Directory but they aren’t always accessible. This demo simply shows several of the key API’s:
Occasionally Connected ClickOnce w/ReplicationThis is the more complete scenario. This is also a finished version of the sample I presented in a Yukon Webcast several weeks earlier. In this demo I essentially demonstrate how to deploy a custom app that leverages the Outlook 2003 model for syncing. As long as the app has network connectivity the server used for Database Syncing and Application Updates, the application will constantly sync any database changes from the client to the server. Once a sync is completed the application will check the database for the required application version. If the version of the app in the database is newer then the currently deployed version on the users desktop, the application will download updates using the ClickOnce API’s. All of this happens on a background thread so the user can continue to interact with their application while the sync operations happen behind the scenes.