<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <appSettings>
    <add key="ImgPath" value="http://49.50.79.189/mchi_pmt/"/>
    <add key="EventDocPath" value="http://49.50.79.189/mchi_pmt/"/>
    <add key="ProfilePic" value="http://49.50.79.189/mchi_pmt/"/>
    <add key="AppLink" value="http://bit.ly/2cg5ocG"/>
    <add key="DocPath" value="C:\MCHI\MCHI_PMT\"/>
    <add key="ProfilePath1" value="C:\MCHI\MCHI_PMT\Media\ProfilePic\"/>
    <add key="MCHIImgPath" value="http://49.50.79.189/mchi_pmt/"/>
    <!-- <add key="GroupImagePath" value="D:\MCHI Project After merging member page\MCHI_21Feb\Media\GroupImage\" />-->
    <add key="hashkey" value="s@vinayak122015"/>
    <add key="ApnsHost" value="gateway.sandbox.push.apple.com"/>
    <!--<add key="ApnsFile" value="APNS_Chandak_Dev.p12"/>-->
    <add key="ApnsFile" value="MCHI_dev_APNS.p12"/>
    <add key="ApnsPassword" value=""/>
  </appSettings>
  <connectionStrings>
    <add name="ConStr" connectionString="Data Source=49.50.79.189;Initial Catalog=MCHI;User ID=sa;Password=K3b%38$^vERT"/>
  </connectionStrings>
  <system.web>
    <compilation debug="true" targetFramework="4.5" tempDirectory="C:\Inetpub\vhosts\mchi.net\tmp"/>
    <httpRuntime targetFramework="4.5" requestPathInvalidCharacters="" requestValidationMode="2.0"/>
    <pages validateRequest="false"/>
  </system.web>
  <!--<system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"
      multipleSiteBindingsEnabled="true" />
  </system.serviceModel>-->
  <system.serviceModel>
    <services>
      <service name="MCHI_Webservice.MCHI_webservice" behaviorConfiguration="Default">
        <endpoint address="" binding="webHttpBinding" contract="MCHI_Webservice.IMCHI_webservice" behaviorConfiguration="Web">
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
      </service>
    </services>
    <!--<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />-->
    <behaviors>
      <serviceBehaviors>
        <behavior name="Default">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="true"/>
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <!--<behavior name="Web">
          <webHttp/>
        </behavior>-->
        <behavior name="Web">
          <webHttp/>
        </behavior>
      </endpointBehaviors>
    </behaviors>
    <!--<For request limit increase for post webservice>-->
    <bindings>
      <webHttpBinding>
        <binding maxReceivedMessageSize="2147483647">
        </binding>
      </webHttpBinding>
    </bindings>
    <protocolMapping>
      <add binding="basicHttpsBinding" scheme="https"/>
      <!--<add binding="basicHttpBinding" scheme="http"/>-->
    </protocolMapping>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
  </system.serviceModel>
  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="30000000"/>
      </requestFiltering>
    </security>
    <modules runAllManagedModulesForAllRequests="true"/>
    <!--
        To browse web app root directory during debugging, set the value below to true.
        Set to false before deployment to avoid disclosing web app folder information.
      -->
    <directoryBrowse enabled="true"/>
    <httpErrors>
      <remove statusCode="401"/>
      <error statusCode="401" path="401.htm"/>
      <remove statusCode="403"/>
      <error statusCode="403" path="403.htm"/>
      <remove statusCode="404"/>
      <error statusCode="404" path="404.htm"/>
      <remove statusCode="405"/>
      <error statusCode="405" path="405.htm"/>
      <remove statusCode="406"/>
      <error statusCode="406" path="406.htm"/>
      <remove statusCode="412"/>
      <error statusCode="412" path="412.htm"/>
      <remove statusCode="500"/>
      <error statusCode="500" path="500.htm"/>
      <remove statusCode="501"/>
      <error statusCode="501" path="501.htm"/>
      <remove statusCode="502"/>
      <error statusCode="502" path="502.htm"/>
    </httpErrors>
    <tracing>
      <traceFailedRequests>
        <clear/>
      </traceFailedRequests>
    </tracing>
  </system.webServer>
</configuration>
