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,264
  • 2
  • 18
  • 31
Eric Bergman
  • 1,393
  • 11
  • 42
  • 82

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,264
  • 2
  • 18
  • 31