Configuration not in app.config

Topics: Enterprise Library Core, General discussion, Logging Application Block
Feb 26, 2008 at 6:50 AM
Hi,

Is there a way that I can configure my logging in a separte config file? Or can configure the logging manually, via code?
So, I don't wan't to configure everything in de app.config, but in an other config file.


Dieter
Mar 3, 2008 at 3:42 PM
You can split your configuration files with external reference files, like posted here http://kementeus.wordpress.com/2008/03/03/multiples-archivos-de-configuracin/ (sorry, in spanish only, but the code could be clear enough :P), just notice that the root node in the external configuration file should be the refereced in the main configuration file (no <?xml > tag in the begining).
I hope this could help you.
Mar 26, 2008 at 10:55 AM
Here is also a blog entry from Tom Hollander.http://blogs.msdn.com/tomholl/archive/2006/04/02/entlib2externalconfig.aspx