Most performant configuration option

  • Thread starter Thread starter james
  • Start date Start date
J

james

I want to be able to retrieve connection strings for all my web
applications in a single, central location. Having read many postings
in various groups I think I have three options;

1. Machine.config
2. An XML file
3. The registry.

Can anyone tell me which would be the most efficient. I do not need to
programmatically write to the file - this can be done manually as and
when required. I just need to access the settings from multiple web
applications, with performance the main concern.

Thanks,
James.
 
Hello james,
I just need to access the settings from multiple web
applications, with performance the main concern.

I wouldn't imagine there'd be a big difference between these access
methods - then again, "big" is not a word with a clear definition. Please
describe your use case, where access to this information is performance
critical. I really can't quite imagine what that could be, as in my
experience this kind of information is usually looked up very rarely, in
many cases exactly once during application startup or initialization.


Oliver Sturm
 
Back
Top