1

Is it possible to read the entire contents of the web.config file and put it in some type of collection?

appSettings (which in turns has other settings key/values) mailSettings (which in turns has other settings key/values) system.web (which in turns has other settings key/values)

etc...

JodyT
  • 4,324
  • 2
  • 19
  • 31
Eric Bergman
  • 1,453
  • 11
  • 46
  • 84

1 Answers1

0

The WebConfigurationManager should already contain a collection for AppSettings (or other sections).

See: https://stackoverflow.com/a/4595323/1737862

Community
  • 1
  • 1
JodyT
  • 4,324
  • 2
  • 19
  • 31