<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <runtime>
    <gcConcurrent enabled="false"/>
    <generatePublisherEvidence enabled="false"/>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Exchange.InstantMessaging" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <codeBase version="15.0.0.0" href="file:///%ExchangeInstallDir%ClientAccess\Owa\Bin\Microsoft.Exchange.InstantMessaging.dll" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Exchange.PushNotifications.Server" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <codeBase version="15.0.0.0" href="file:///%ExchangeInstallDir%ClientAccess\PushNotifications\Bin\Microsoft.Exchange.PushNotifications.Server.dll" />
      </dependentAssembly>
      <probing privatePath="CmdletExtensionAgents"/>
    </assemblyBinding>
  </runtime>
  <system.net>
    <connectionManagement>
      <add address="*" maxconnection="65000" />
    </connectionManagement>
  </system.net>
  <system.serviceModel>
    <bindings>
      <netTcpBinding>
        <binding name="SecureBinding" maxConnections="100000">
          <security mode="Transport">
            <transport protectionLevel="EncryptAndSign" />
          </security>
        </binding>
      </netTcpBinding>
    </bindings>
    <client>
      <endpoint address="net.tcp://localhost:1009/Microsoft.Exchange.Security.Authentication.FederatedAuthService" binding="netTcpBinding" bindingConfiguration="SecureBinding" contract="Microsoft.Exchange.Security.Authentication.FederatedAuthService.IAuthService" name="Microsoft.Exchange.Security.Authentication.FederatedAuthService" />
    </client>
  </system.serviceModel>
  <appSettings>
    <add key="FileStorageLocation" value="Monitoring\Config"/>
    <add key="MaxWorkitemBatchSize" value="10" />
    <add key="MaxRunningTasks" value="40" />
    <add key="WorkItemRetrievalDelay" value="100"/>
    <add key="WaitAmountBeforeRestartRequest" value="60000"/>
    <add key="QuarantineHours" value="24"/>
    <add key="MaxPoisonCount" value="5"/>
    <add key="ResultHistoryWindowInMinutes" value="15"/>
    <add key="ConsecutiveMaintenanceFailureThreshold" value="3"/>
    <add key="InsufficientSamplesIntervalInSeconds" value="28800"/>
    <add key="IsResultsLoggingEnabled" value="true"/>
    <add key="IsPersistentStateEnabled" value="true"/>
    <add key="ResultsLogBufferSizeInBytes" value="25000"/>
    <add key="MaxResultsLogDirectorySizeInBytes" value="200000000"/>
    <add key="MaxResultsLogFileSizeInBytes" value="100000000"/>
    <add key="IsTraceLoggingEnabled" value="true"/>
    <add key="MaxTraceLogDirectorySizeInBytes" value="2147483648"/>
    <add key="MaxTraceLogFileSizeInBytes" value="268435456"/>
    <add key="TraceLogBufferSizeInBytes" value="1024"/>
    <add key="TraceLogFlushIntervalInMinutes" value="1"/>
    <add key="DefaultTraceLogPath" value="C:\Program Files\Microsoft\Exchange Server\V15\Logging"/>
    <add key="StackTraceAnalysisEnabled" value="true"/>

    <!--   Used for Exchange Online only.
           Please keep in sync with the list in PerfCounterHelper.cs   -->
    <add key="HttpProxyAvailabilityGroup" value="OWA.Proxy:HttpProxyAvailabilityGroup,EWS.Proxy:HttpProxyAvailabilityGroup,ActiveSync.Proxy:HttpProxyAvailabilityGroup,Autodiscover.Proxy:HttpProxyAvailabilityGroup,Outlook.Proxy:HttpProxyAvailabilityGroup"/>
  </appSettings>
</configuration>
