External config file

Topics: Enterprise Library Core
Aug 29, 2008 at 5:18 PM
I used the Config application block and came to know that  is no more in Enterprize library. But How can I use similar to XMLHashTableSectionHandler in Enterprize library 4.0
My external xml config file(MyConfig.xml) just has key value pair. This (MyConfig.xml) is being used by Multiple apps. Is it possible without wrtiing the custom handler? In config app block  it can be done simply by XMLHashTableSectionHandler, but now how can it be done? Please advise.
Sep 1, 2008 at 12:42 PM

You could use the System.Configuration.AppSettingsSection, assuming you want to use the same schema. You can also define your own configuration section using the .NET 2.0 configuration classes; it's a declarative approach that doesn't require you to create a full blown handler. 

Hope this helps,