Apply Environment override and encryption to non-Entlib sections

Topics: Enterprise Library Core
Mar 5, 2010 at 10:02 PM

Is it possible to easily use the environment overrides and automatic config encryption to sections of the config that are not from the enterprise library.  For example, I have a custom section and would like to encrypt it without writing code.  This is a desktop app so I can't use asp.net web.config stuff. 

Also, can you apply overrides to config sections that aren't entlib config sections.  I have a WCF configuration that takes specifies the WSDL path.  I'd like to be able to make an environmental override for this without writing code and just specifying a new url in my delta file.  Is this possible?

Mar 8, 2010 at 12:08 AM

No, unless you create design-time support for those sections.  Refer to this thread - http://entlib.codeplex.com/Thread/View.aspx?ThreadId=30437

 

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