3.3 [Enterprise Library] configuration during design

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.