﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1" />
  </startup>
  <runtime>
    <AppContextSwitchOverride value="Switch.System.Windows.Interactivity.DoNotScaleForDpiChanges=false" />
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Serilog" publicKeyToken="24c2f752a8e58a10" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-9.0.0.12" newVersion="9.0.0.12" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <appSettings file="Machinery.config">
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>
  <system.diagnostics>
    <switches>
      <!-- BRIX Trace switches. Values 0:Off, 1:Error, 2:Warning, 3:Info, 4:Verbose-->
      <add name="DNVS.BRIX.Workflow.DA.Write" value="1" />
      <add name="DNVS.BRIX.Workflow.DA.Read" value="0" />
      <add name="DNVS.BRIX.Workflow.BL.Operation" value="0" />
      <add name="DNVS.BRIX.Basis.Offline.Core" value="0" />
      <add name="DNVS.BRIX.Basis.Offline.Client" value="0" />
      <add name="DNVS.NMCP.Common.Win" value="1" />
      <add name="DNVS.NMCP.Common.Core" value="1" />
      <add name="DNVS.NMCP.CrystalReportGenerator.Win" value="1" />
      <add name="DNVS.NMCP.GearFaceloadDistribution.Win" value="1" />
      <add name="DNVS.NMCP.ShaftAlignment.Win" value="1" />
      <add name="DNVS.NMCP.ShaftModeller.Win" value="1" />
      <add name="DNVS.NMCP.WorkflowManager.BL" value="1" />
      <add name="DNVS.NMCP.WorkflowManager.Win" value="1" />
      <add name="DNVS.NMCP.TorsionalVibration.Controller" value="1" />
      <add name="DNVS.NMCP.TorsionalVibration.Model" value="1" />
      <add name="DNVS.NMCP.TorsionalVibration.Win" value="1" />
      <add name="DNVS.NMCP.Explorer.ViewModel" value="1" />
      <add name="DNVS.NMCP.CrankShaftFatigue.Model" value="1" />
      <add name="DNVS.NMCP.CrankShaftFatigue.Win" value="1" />
    </switches>
    <trace autoflush="true" indentsize="4">
      <listeners>
        <!-- Add trace statements to a file. -->
        <add name="BRIXLogListener" type="DNVS.BRIX.Basis.BxLogTraceListener,DNVS.BRIX.Basis" initializeData="BRIX.log" />
        <!-- In production the default listener should be removed, add the remove line last in the listeners section
                 (so that errors in listeners initialisation is logged to the default listener). -->
        <!--<remove name="Default"/>-->
      </listeners>
    </trace>
  </system.diagnostics>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Serilog" publicKeyToken="24c2f752a8e58a10" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>