views:

69

answers:

2

For me it a little bit hard and frustrating to understand how app.config, web.config files work on deep level.

Is it any document which can describe format, internal implementation and parsing of .config file.

+3  A: 

This is at least a good start: http://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx. You can follow the links from there to get more information as well.

One thing worth mentioning that people commonly get hung up on - configuration files are for applications, not libraries. It doesn't make a lot of sense to give a library its own configuration file, since the standard, accepted ways of accessing configuration (ConfigurationManager) operate based on the executing process.

nlawalker
+1  A: 

Config files are well documented. I would start on MSDN here: Configuration Files. This gives an overview of how the config files work, and has reference links to how to accomplish various development tasks.

There's full documentation for each schema for app.config, web.config, machine.config, etc. here: Configuration File Schema for the .Net Framework

womp