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
 
Back
Top