<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="dictionaryManagement" type="MGS.Infra.Common.Dictionaries.DictionaryManagerSectionHandler,MGS.Infra.Common.Dictionaries" />
    <section name="exceptionManagement" type="MGS.Infra.ExceptionManagement.ExceptionManagerSectionHandler,MGS.Infra.ExceptionManagement" />
    <section name="sequenceManagement" type="MGS.Infra.SequenceManagement.SequenceManagerSectionHandler,MGS.Infra.SequenceManagement" />
    <section name="browserManagement" type="MGS.Infra.UI.BrowserManagement.BrowserManagerSectionHandler,MGS.Infra.UI.BrowserManagement" />
  </configSections>
  <!--<add name="اصلی"       connectionString="workstation id=test;packet size=4096;user id=sa;data source=.\sql2008;persist security info=True;initial catalog=SHTS-Par-910808;password=123;Connect Timeout=1200"   providerName="System.Data.SqlClient" />-->
  <connectionStrings>
    <add name="SHTS" connectionString="Data Source=192.168.100.4;Initial Catalog=SHTS;Persist Security Info=True;User ID=sa;Password=@123@abc;Connect Timeout = 1200" providerName="System.Data.SqlClient" />
    <add name="Before95" connectionString="Data Source=192.168.100.4;Initial Catalog=SHTSBefore95;Persist Security Info=True;User ID=sa;Password=@123@abc;Connect Timeout = 1200" providerName="System.Data.SqlClient" />
    <add name="DefaultConnection" connectionString="Data Source = |SQL/CE|" />
  </connectionStrings>
  <appSettings>
    <add key="ConnectionString" value="workstation id=db-office;packet size=4096;user id=sa;data source=192.168.100.4;persist security info=True;initial catalog=SHTS;password=@123@abc;Connect Timeout=1200" />
    <!--<add key="ConnectionString" value="workstation id=db-office;packet size=4096;user id=sa;data source=db-office;persist security info=True;initial catalog=shts;password=R@hk@r1800;Connect Timeout=1200" />-->
    <add key="ApplicationReportsPath" value="\\192.168.100.4\Reports\Mali\ReportRDLCs" />
    <add key="GeneralReportsPath" value="\\192.168.100.4\Reports\Mali\ReportRDLCs" />
    <add key="DatabaseType" value="SQLServer" />
    <add key="BindManagerMessagingStyle" value="ErrorProvider" />
    <add key="Remoting.RemoteAccess" value="false" />
    <add key="Remoting.Protocol" value="tcp" />
    <add key="Remoting.ServerName" value="localhost" />
    <add key="Remoting.Port" value="8080" />
    <add key="Session.Timeout" value="99999" />
    <add key="Security.Enabled" value="False" />
    <add key="Security.ConnectionString" value="workstation id=Jebelli;packet size=4096;user id=sa;data source=192.168.100.4;persist security info=True;initial catalog=Security;password=@123@abc" />
    <add key="Security.ExternalHumanResource" value="False" />
    <add key="ConnectionStringToAccess" value="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\server\Teene\TNE_Db\Shared DB\SharedDB.mdb;Persist Security Info=False" />
    <add key="MultiSystem" value="on" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <add key="ClientSettingsProvider.ConnectionStringName" value="DefaultConnection" />
  </appSettings>
  <dictionaryManagement mode="on">
    <dictionary name="DatabaseException" mode="on" assembly="MGS.Infra.Common.Dictionaries" type="MGS.Infra.Common.Dictionaries.ResourceDictionary" source="RES" resourceName="Shaar.SHTAS.Dictionary.Resources" resourceAssemblyName="Shaar.SHTAS.Dictionary" />
  </dictionaryManagement>
  <sequenceManagement mode="on">
    <sequence name="Default" mode="on" assembly="MGS.Infra.SequenceManagement" type="MGS.Infra.SequenceManagement.GuidSequence" />
    <sequence name="AutoIncrement" mode="on" assembly="MGS.Infra.SequenceManagement" type="MGS.Infra.SequenceManagement.AutoIncrementSequence" />
  </sequenceManagement>
  <exceptionManagement mode="on">
    <publisher mode="on" assembly="MGS.Infra.ExceptionManagement.Publishers" type="MGS.Infra.ExceptionManagement.Publishers.ExceptionPublisher" exclude="" include="*" />
    <publisher mode="off" assembly="MGS.Infra.ExceptionManagement.Publishers" type="MGS.Infra.ExceptionManagement.Publishers.ExceptionXMLPublisher" exclude="*" include="+MGS.Infra.ExceptionManagement.BaseApplicationException" exceptionFormat="xml" fileName="c:\ExceptionLog.xml" />
  </exceptionManagement>
  <browserManagement mode="on">
    <browser name="Default" mode="on" assembly="MGS.Infra.UI.BrowserManagement" type="MGS.Infra.UI.BrowserManagement.WinBrowser" />
  </browserManagement>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="MGS.Infra.UI.Messages" publicKeyToken="BED9AFDE81E2DAC3" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.2.0.0" newVersion="1.2.0.0" />
      </dependentAssembly>
    </assemblyBinding>
    <NetFx40_LegacySecurityPolicy enabled="true" />
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
      </dependentAssembly>
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
      </dependentAssembly>
    </assemblyBinding>
    <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>
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.2" newVersion="6.0.0.2" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
  <system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding name="WSHttpBinding_IAuthorizeServices">
          <security mode="TransportWithMessageCredential">
            <transport clientCredentialType="None" />
            <message clientCredentialType="UserName" />
          </security>
        </binding>
      </wsHttpBinding>
    </bindings>
    <client>
      <endpoint address="https://payaneh.larenteb.ir/AuthorizeServices.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAuthorizeServices" contract="SecuritySvc.IAuthorizeServices" name="WSHttpBinding_IAuthorizeServices" />
    </client>
  </system.serviceModel>
  <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="" connectionStringName="DefaultConnection" credentialsProvider="" />
      </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" connectionStringName="DefaultConnection" />
      </providers>
    </roleManager>
  </system.web>
</configuration>