﻿<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <appSettings>
    <add key="connectionString" value="Data Source=servername;Initial Catalog=databasename;User ID=username;Password=sqlpassword;Connect Timeout=180;Max Pool Size=10000;Min pool Size=25;"/>
    <add key="settingGroup" value="SETTINGGROUP"/>
    <add key="partyID" value="1"/>
    <add key="DAOPrefix" value="1" />
  </appSettings>
  
  <system.web>
    <authentication mode="None" />
    <compilation debug="true" />
  </system.web>
  <!-- When deploying the service library project, the content of the config file must be added to the host's 
  app.config file. System.Configuration does not support config files for libraries. -->
  <system.serviceModel>
    <services>
	<service name="BenchmarkCreditCardSvc.BMCreditCardSvc" behaviorConfiguration="BenchmarkCreditCardSvc.Service1Behavior">
	
       <endpoint address=""
             binding="basicHttpBinding"
             bindingConfiguration="Binding1" 
             contract="BenchmarkCreditCardSvc.IBMCreditCardSvc" />

		
	</service>


     <!-- <service behaviorConfiguration="BenchmarkCreditCardSvc.Service1Behavior" name="BenchmarkCreditCardSvc.BMCreditCardSvc">
        <endpoint address="" binding="wsHttpBinding" contract="BenchmarkCreditCardSvc.IBMCreditCardSvc">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8732/Design_Time_Addresses/BenchmarkCreditCardSvc/Service1/" />
          </baseAddresses>
        </host> 
      </service> -->
    </services>
  <bindings>
     <basicHttpBinding>
        <binding name="Binding1" 
               hostNameComparisonMode="StrongWildcard" 
               receiveTimeout="00:10:00"
               sendTimeout="00:10:00"
               openTimeout="00:10:00"
               closeTimeout="00:10:00"
               maxReceivedMessageSize="65536" 
               maxBufferSize="65536" 
               maxBufferPoolSize="524288" 
               transferMode="Buffered" 
               messageEncoding="Text" 
               textEncoding="utf-8"
               bypassProxyOnLocal="false"
               useDefaultWebProxy="true" >
              <security mode="None" />
         </binding>
     </basicHttpBinding>
  </bindings>
    <behaviors>
      <serviceBehaviors>
        <behavior name="BenchmarkCreditCardSvc.Service1Behavior">
          <!-- To avoid disclosing metadata information, 
          set the value below to false and remove the metadata endpoint above before deployment -->
          <serviceMetadata httpGetEnabled="True"/>
          <!-- To receive exception details in faults for debugging purposes, 
          set the value below to true.  Set to false before deployment 
          to avoid disclosing exception information -->
          <serviceDebug includeExceptionDetailInFaults="False" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>

</configuration>
