﻿<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="conn" value="Initial Catalog=Framework_GLOB-3;Data Source=.\SQLEXPRESS;Integrated Security=True"/>
    <add key="DateFormat" value="yyyy-MM-dd hh:mm tt"/>
    <add key="support" value="dylan@evolutionsoftware.co.za"/>
    <add key="from" value="no-reply@evolutionsoftware.co.za"/>
    <add key="admin" value="dylan@evolutionsoftware.co.za"/>
    <add key="WebAddy" value="http://glob-3.mypalette.co.za"/>
    <add key="cc" value=""/>
    <add key="bcc" value=""/>
    <add key="subject" value="GWC - {content}"/>
    <add key="website" value="Global Wellness Chiropractic"/>
    <add key="smsU" value="evolut"/>
    <add key="smsP" value="evo001"/>
    <add key="MediSwitchResponses" value="0"/>
    <add key="defaultCulture" value="en-ZA"/>
    <add key="AllowCustomProgress" value="false"/>
    <add key="CountryNameWebService" value="http://www.webservicex.net/country.asmx/GetCountries"/>
    <add key="CountryDetailsWebService" value="http://www.webservicex.net/country.asmx/GetCurrencyByCountry"/>
    <add key="CountryTimeZoneWebService" value="http://www.webservicex.net/country.asmx/GetGMTbyCountry"/>
    <!-- RECAPTCHA -->
    <add key="recaptchaUrl" value="https://www.google.com/recaptcha/api/siteverify"/>
    <add key="recaptchaPrivateKey" value="6LdceFsUAAAAAJoS-SytAVoLvbc2eoWIrM9q593q"/>
    <add key="recaptchaSiteKey" value="6LdceFsUAAAAALjbHf1ahE8hyCR9lclvsaNjXQgu"/>
    <!--TEST-->
    <add key="Mediswitch.Gateway" value="https://wsgateway.mediswitch.co.za/qa/wsgateway/MediswitchGatewayV2"/>
    <add key="Mediswitch.Gateway1" value="https://wsgateway1.mediswitch.co.za/qa/wsgateway/MediswitchGatewayV2"/>
    <add key="Mediswitch.Gateway2" value="https://wsgateway2.mediswitch.co.za/qa/wsgateway/MediswitchGatewayV2"/>
    <!--LIVE-->
    <!--<add key="Mediswitch.Gateway" value="https://wsgateway.mediswitch.co.za/wsgateway/MediswitchGatewayV2"/>
    <add key="Mediswitch.Gateway1" value="https://wsgateway1.mediswitch.co.za/wsgateway/MediswitchGatewayV2"/>
    <add key="Mediswitch.Gateway2" value="https://wsgateway2.mediswitch.co.za/wsgateway/MediswitchGatewayV2"/>-->
  </appSettings>

  <system.web>
<customErrors mode="Off"/>
    <pages controlRenderingCompatibilityVersion="4.0">
      <controls>
        <add tagPrefix="ajax" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      </controls>
    </pages>
    <compilation targetFramework="4.5" debug="false">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </assemblies>
    </compilation>
    <globalization uiCulture="en" culture="en-US"/>
    <httpRuntime executionTimeout="300" maxRequestLength="10048"/>
    <httpHandlers>
      <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
      <add verb="GET,HEAD" path="SessionHeartbeat.ashx" validate="false" type="SessionHeartbeatHttpHandler"/>

    </httpHandlers>
    <anonymousIdentification enabled="true"/>
    <sessionState timeout="60"></sessionState>
  </system.web>
  <system.webServer>
    <urlCompression doStaticCompression="true" doDynamicCompression="true"/>
    <modules runAllManagedModulesForAllRequests="true"/>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />  
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler"/>
      <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/>

    </handlers>
  </system.webServer>
  <system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="50000000"/>
      </webServices>
    </scripting>
  </system.web.extensions>
  <system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding name="wsHttpBinding_Iframework_service" closeTimeout="00:05:00" openTimeout="00:05:00"
        receiveTimeout="00:05:00" sendTimeout="00:10:00" bypassProxyOnLocal="true"
        transactionFlow="false" hostNameComparisonMode="StrongWildcard"
        maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
        messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
        allowCookies="false">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
              maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <security mode="None" />
        </binding>
      </wsHttpBinding>
      <basicHttpBinding>
        <binding name="basicHttpBinding_sendeasy_service" closeTimeout="00:05:00" openTimeout="00:05:00"
        receiveTimeout="00:05:00" sendTimeout="00:10:00" bypassProxyOnLocal="true" hostNameComparisonMode="StrongWildcard"
        maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
        messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
        allowCookies="false" />
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://service.paletteone.com/framework_service.svc"
          binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Iframework_service"
          contract="framework_service.Iframework_service" name="Iframework_service">
      </endpoint>
      <endpoint address="http://sms.netgen.co.za/SMS_V2.asmx" binding="basicHttpBinding"
                bindingConfiguration="basicHttpBinding_sendeasy_service" contract="send_easy.SMS_V2Soap"
                name="sendeasy_service" />
    </client>
  </system.serviceModel>
  <system.net>
   <mailSettings>
      <smtp from="info@aligned.co.za">
        <network host="email-smtp.eu-west-1.amazonaws.com" enableSsl="true" port="2587" clientDomain="eu-west-1.amazonaws.com" password="BI1wbhH7aqkhVndunySoe0tl/+MxwMR6x7z6j5XbK7vc" userName="AKIAISU3EUE2BL5BL74Q" defaultCredentials="false" />
      </smtp>
    </mailSettings>
  </system.net>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs"
        type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
        type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
    </compilers>
  </system.codedom>
</configuration>
