Last modified on 12 May 2015, at 14:03

Configuration Files/UBIK.Studio.exe.config

Revision as of 14:03, 12 May 2015 by KNO (Talk | contribs) (See also)

This is the main configuration file of the web service (since Version 2.4.3 - Server). The web service is configured using this main configuration file and the specific files.

Example

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
    <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="UBIK.Studio.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <loggingConfiguration  configSource="Logging.config" />
  <exceptionHandling>
    <exceptionPolicies>
      <add name="System.Exception">
        <exceptionTypes>
          <add name="All Exceptions" type="System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" postHandlingAction="None">
            <exceptionHandlers>
              <add name="System.Exception" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" logCategory="EXCEPTION" eventId="100" severity="Error" title="System.Exception" formatterType="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" priority="0" />
            </exceptionHandlers>
          </add>
        </exceptionTypes>
      </add>
    </exceptionPolicies>
  </exceptionHandling>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>
  <userSettings>
    <UBIK.Studio.Properties.Settings>
      <setting name="User" serializeAs="String">
        <value />
      </setting>
      <setting name="Password" serializeAs="String">
        <value />
      </setting>
      <setting name="DataSource" serializeAs="String">
        <value />
      </setting>
      <setting name="DataBase" serializeAs="String">
        <value />
      </setting>
      <setting name="RuntimeAssembly" serializeAs="String">
        <value>CUSTOM</value>
      </setting>
      <setting name="AutoConnect" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="RuntimeUIAssembly" serializeAs="String">
        <value>UBIK.Runtime.UI</value>
      </setting>
      <setting name="RecordLifeTime" serializeAs="String">
        <value>-1</value>
      </setting>
      <setting name="Language" serializeAs="String">
        <value>en</value>
      </setting>
      <setting name="AutoSaveTime" serializeAs="String">
        <value>-1</value>
      </setting>
      <setting name="NotifyOnWarning" serializeAs="String">
        <value>True</value>
      </setting>
      <setting name="NotifyOnError" serializeAs="String">
        <value>True</value>
      </setting>
    </UBIK.Studio.Properties.Settings>
  </userSettings>
  <runtime configSource="Runtime.config" />
  <system.serviceModel>
    <bindings configSource="Bindings.config" />
    <client configSource="Client.config" />
  </system.serviceModel>
  <system.net>
    <settings>
      <servicePointManager expect100Continue="false" />
    </settings>
  </system.net>
</configuration>

See also