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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.