Hi
Configuration Application Block
http://msdn.microsoft.com/library/de...us/dnpag2/html
/mswsibsp_appendixa.asp
Design of the Configuration Application Block
The Configuration Application Block was designed to achieve the following
goals:
To provide a simple interface for both reading and writing configuration
data
To insulate applications from the physical storage location of the
configuration data
To provide an extensible model that allows for custom storage locations and
the run-time representation of configuration settings
Design Highlights
Because by default the Configuration Application Block know where to store
the data.
The Configuration Application Block includes one provider that supports
this interface, XmlFileStorageProvider, which reads and writes
configuration data to an XML file.
If you wants to customize the behavior, you need to write your own Storage
Provider, so that you can make the two application which call the same
storage provider to negotiate about how the sync the data from two
applications, e.g, you can make them store data in the same databse so that
there is only one copy of data.
For detailed implement, please check the source code of
XmlFileStorageProvider in the Configuration Application Block.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.