Configuration

Another benefit of assemblies is that they can be configured dynamically through configuration files. These files are written in XML, providing human readable access to program configuration.

There are basically two types of configuration files: machine and application. Machine configuration files hold configuration information for all applications running on a machine. In this light, they are intended to be more generic and applicable to multiple applications. Machine configuration files are located at %runtime install path%\Config\Machine.config. When running applications, the machine configuration file is consulted first, and then the application configuration file settings are applied.

Executable application configuration files ...

Get C# Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.