﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
  </configSections>
  <connectionStrings>
    <add name="WM_Online.MySettings.WMOnline002" connectionString="Data Source=GUNALI1\SQLEXPRESS1;Initial Catalog=WMOnline002;User ID=sa"
      providerName="System.Data.SqlClient" />
  </connectionStrings>
  <system.diagnostics>
    <sources>
      <!-- This section defines the logging configuration for My.Application.Log -->
      <source name="DefaultSource" switchName="DefaultSwitch">
        <listeners>
          <add name="FileLog" />
          <!-- Uncomment the below section to write to the Application Event Log -->
          <!--<add name="EventLog"/>-->
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="DefaultSwitch" value="Information" />
    </switches>
    <sharedListeners>
      <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter" />
      <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
      <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
    </sharedListeners>
  </system.diagnostics>
  <appSettings>

    <!--Server-->
    <add key="DBCon" value="FpILOupC+hiV7SxEnfkraG0J34iYrA/eYKN/uF1rfQsfBuaWP6xWVSWQeXnbOfvC36HHB1w2JREQ8lhdE3ixaexMYIT45pgky4kiX7xmgEBf7QEhjhkwpjD5JJT9Bkl+c/1rYHUmnc6N2cN0VL26TUHy2g7Y8AOHHZEPyc7vwur8OYBrKZIq4w=="/>

    <!--Local-->
    <!--<add key="DBCon" value="FpILOupC+hi0a6yvVZUtvAWOZMMMiJFBboKZvSP3Ro9q1TVNa4+a4WiEbgLn1gBDpG3EjnGJPPZ9Stobv4gdNFrDA9CeVr1R243uwh+t9VJ15oRW7vh9w69sbOo5qqyCHQgzdTQi++hioxpEQU6nCgnLt302mg7R2yZxYBOFWQs="/>-->


    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <add key="MyMailServer" value="smtp.sendgrid.net" />
    <add key="MyMailServerPort" value="465" />
    <add key="encoder" value="iso-8859-1" />
    <add key="threadCount" value="5" />
    <add key="userName" value="manishdhar@yahoo.com" />
    <add key="password" value="zdsl7uen" />
    <add key="Sid" value="ACb2f9d9b7947d78ebe06e1733d77668a0"/>
    <add key="Token" value="294ed879420f8141ef35cd6a3ca68ccb"/>
    <add key="version" value="2010-04-01"/>

    <!--FaceBook Key Details-->

    <add key="FBConsumerKey" value="382394088504171"/>
    <add key="FBConsumerSecret" value="1056da575cae79fd77e64a3f7ae18147"/>
    <add key="FBCallbackurl" value="http://localhost:1156/messagesender/FBCallback.aspx"/>
  </appSettings>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=3.5.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=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_QpayPOSGateway" closeTimeout="00:05:00"
          openTimeout="00:02:00" receiveTimeout="00:03:00" sendTimeout="00:02:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="5242888" maxBufferPoolSize="524288" maxReceivedMessageSize="5242888"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="Transport">
            <transport clientCredentialType="Certificate" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
        <binding name="BasicHttpBinding_QpayPOSGateway1" closeTimeout="00:05:00"
          openTimeout="00:02:00" receiveTimeout="00:03:00" sendTimeout="00:02:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="5242888" maxBufferPoolSize="524288" maxReceivedMessageSize="5242888"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="Transport">
            <transport clientCredentialType="Certificate" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
        <binding name="BasicHttpBinding_QpayPOSGateway11" closeTimeout="00:05:00"
          openTimeout="00:02:00" receiveTimeout="00:03:00" sendTimeout="00:02:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="5242888" maxBufferPoolSize="524288" maxReceivedMessageSize="5242888"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="Certificate" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
        <binding name="DOPSoap" closeTimeout="00:10:00"
        openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
        allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
        maxBufferPoolSize="524288" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"
        textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"
        messageEncoding="Text">
          <readerQuotas maxDepth="128" maxStringContentLength="2147483647"
           maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
      </basicHttpBinding>
      <customBinding>
        <binding name="DOPSoap12"  closeTimeout="00:10:00"
       openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" >
          <textMessageEncoding messageVersion="Soap12" maxReadPoolSize="2147483647" maxWritePoolSize="2147483647"  />
          <httpTransport   maxBufferPoolSize="524288" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"/>
        </binding>
      </customBinding>
    </bindings>
    <client>
      <endpoint address="https://pos.qpay123.com/WMPOS/gateway.svc"
          behaviorConfiguration="clientEnpointBehavior" binding="basicHttpBinding"
          bindingConfiguration="BasicHttpBinding_QpayPOSGateway" contract="ServiceReference1.QpayPOSGateway"
          name="BasicHttpBinding_QpayPOSGateway" />
      <!--<endpoint address="http://services.wirexgroup.com/2.2/dop.asmx"
              binding="basicHttpBinding" bindingConfiguration="DOPSoap"
              contract="XcessoriesService.DOPSoap" name="DOPSoap" />-->
      <endpoint address="http://services.wirexgroup.com/2.2/dop.asmx"
          binding="customBinding" bindingConfiguration="DOPSoap12" contract="XcessoriesService.DOPSoap"
          name="DOPSoap12" />
    </client>
    <behaviors>
      <endpointBehaviors>
        <behavior name="clientEnpointBehavior">
          <clientCredentials>
            <!--Demo-->
            <!--<clientCertificate findValue="QPaynet CA 1" storeLocation="CurrentUser" storeName="My" x509FindType="FindByIssuerName"/>-->
            <!--Production-->
            <clientCertificate findValue="GlobalSign PersonalSign 2 CA - G2" storeLocation="CurrentUser" storeName="My" x509FindType="FindByIssuerName"/>
          </clientCredentials>
        </behavior>
      </endpointBehaviors>
    </behaviors>
  </system.serviceModel>
</configuration>