Config Environment Overrides

Topics: Building and extending application blocks, Enterprise Library Core, General discussion
Jul 26, 2009 at 1:08 AM

The entlib config tool only let's you configure environment overriddes for app blocks.

Can you manually write a .dconfig to configure custom config, or, is it only intended for overridding application-block config? 

Can you still use config protection with this approach?

Thanks

Jul 27, 2009 at 4:06 AM

Environmental Overrides would work for any configuration section as long as you provide design-time support for it since it relies on the ability to load config files using configuration nodes. 

On your second question, I tried specifying a ProtectionProvider for the DAAB section and create an environment where I override it.  It works fine, although you do need to open the resulting file and specify the ProtectionProvider if you want a specific section like the DAAB to be encrypted.

 

Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com

Jul 27, 2009 at 10:27 PM

Thanks Sarah!

Note on the ProtectionProvider, maybe this could be included in the guide for setting up RSA key protection.