Calendar Silverlight includes a
custom dll (dbiCalendarSLDB.dll) to help developers quickly
manage XML data and storing that data locally or in Isolated
Storage.
The dbiCalendarSLDB assembly has
been designed to allow developers to quickly implement an
XML database that persists the state of the dbiCalendarSL
collections in either the Isolated Storage assigned to the
application or to a local directory accessible from the
client machine.
An IMPORTANT NOTE: with Silverlight, there is no direct
access to the operating system's file system, except through
the Open File dialog box. When using the Save and Load from
Local Directory functionality, the user is prompted to
enter/select the location and name of the file for the XML
Data. This is a limitation of the Silverlight architecture
which prevents the application from obtaining a handle to
the local directory without the knowledge of the user.
However, you can use isolated storage to store data locally
on the user's computer. By default a Silverlight application
is given 1MB of storage in its Isolated Storage. If the XML
Data is to be stored in the isolated storage the developer
may be required to expand the size of the isolated storage
allocated to the application.
The dbiCalendarSLDB assembly included with Calendar
Silverlight requires the developer to add it as a reference
to the project in order to use it. Once the assembly is
referenced the following steps can be taken to implement in
your application …
|