Copyright (c) 2007 Dorian Deng. Signature Sharing is not commercially available.
Reprinted please indicate the source: http://www.cnblogs.com/doriandeng/archive/2007/09/30/911660.html
All applicationsProgramThe block contains runtime and design-time support for configuration settings. The runtime supports classes that represent configuration settings. These class definitions are used when configuring Application Block loading configuration settings. It reads configuration settings from the storage, and then returns the objects containing configuration data to the Application Block.
The design-time configuration supports enetrprise Library
Configure the console to modify the configuration settings class. These classes provide a visual representation of different configuration settings (for example, an image is displayed for the next configuration setting). The action can be performed based on the current configuration settings and the ability to verify the configuration settings.
Figure 3.2 shows the relationship between runtime configuration support and design-time configuration support.
Figure 3.2. Support for configuration and runtime configuration during design
The design-time class depends on the configuration runtime class because it contains the current configuration settings from the configuration runtime object. When you modify these settings and save the changes, the design-time objects are updated and saved to the storage. However, runtime classes do not depend on design-time classes. Each application is packaged and designed to support programs that are separated from the runtime. These assemblies are not required to run applications that use application blocks. However, they are required when you use the configuration console to modify the configuration of application blocks.