Server Document Overview

VSTO provides a class called ServerDocument to read from and write to the data cache, and to attach and detach solutions that are associated with the document. As discussed in Chapter 11, VSTO document-based solutions have an application manifest and a data cache embedded in the document. The application manifest is used to locate the solution assembly and is linked to the deployment manifest.

The document also contains a data cache that is used by the VSTO runtime to store data when the user is offline. VSTO embeds the application manifest and the data cache into the document by inserting a special ActiveX control called the Runtime Storage Control. It is this control that the ServerDocument class manipulates.

0 0

Post a comment