Web Service Configuration
Specific Configuration Files
The specific configuration files are considered in the configuration via inclusion. For example, the tag <bindings configSource="Logging.config" /> in the main configuration file adds all settings of Logging.config to the configuration.
Specific files are available for:
- Bindings: different configurations for data services and endpoints
- Clients: definitions used by the data service for connecting to the session management service
- Logging: configuration of destination paths, etc.
- Services: used by the data service and the session management service
- Application Settings: configuration of the data and session management service of the web service
- Web Settings: configuration of the web site.
This table shows by which component the specific files are used.
Description | Example file | Web service | Studio | Enterprise Service |
---|---|---|---|---|
Application settings | AppSettings.config | - | - | |
Bindings | Bindings.config | |||
Clients | Client.config | |||
Logging | Logging.config | |||
Services | Services.config | - | - | |
Web | Web.config |
The configuration file of the web service additionally needs to obey rules as given in Configuring Services.
Common sections, existing in all main configuration files and should not be changed in general, are
- <configSections>: these settings include general logging and exception handling
- <exceptionHandling>: detailed configuration of exception handling
- <loggingConfiguration>: detailed configuration of logging
- <system.serviceModel>: behaviours for services and endpoints