2.0 Configuration. How do I abstract usage of WebConfigurationManager vs ConfigurationManager?

  • Thread starter Thread starter costasz
  • Start date Start date
C

costasz

Why did MSFT feel they had to separate the two? What if I am writing a
class in an assembly that could be used by either an ASP.Net app or a
Winforms app? I don't want to have each look for the data in different
ways. I want to abstract that. Couldn't they have used a factory that
returns an IConfigurationManager or something like that?


Thanks


CZ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top