471,337 Members | 867 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

settings.settings & enterprise library 3.x

Hi, I was wondering if it is possible to get the enterprise library (EL)
3.x to read/write the settings.settings section of the .config file?
Because when you use the settings.settings in an application, by default
it creates an 'applicationSetings' area in the .config file. Whereas, the
default enterprise library creates the older 'appSettings' area.

What I am trying to do is that I have my entire app using EL 3.1 for the
application configuration files. However, two of my libraries it
references are libraries that use the settings.settings for their
configuration. The thing is that the settings.settings allow for
serialization and object type specifications (e.g. string, bool, etc.)
that is being used by the libraries. The enterprise library uses a more
archaic form of the old 'add key/value' and doesn't appear to understand
the newer serialization and type options in the .config file. I want to
ultimately use the EL 3 mergeConfiguration.exe to merge all my library and
environment specific configs into the exe.config and/or web.config files,
which is the main reason I need to figure this out.

So, is it possible to get Enterprise Library 3 to access the
settings.settings "applicationSettings" section of the .config file? If
so, how?

I have exhausted all my resources trying to figure out how these two types
of config files can work together. Any help would be much appreciated! In
the mean time, back to copy and pasting after each build :(


Jul 11 '07 #1
0 1332

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Sam Carleton | last post: by
3 posts views Thread by veera sekhar kota | last post: by
3 posts views Thread by tshah | last post: by
2 posts views Thread by Søren M. Olesen | last post: by
6 posts views Thread by SAL | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.