<?xml version="1.0"?>
<configuration>
	<appSettings>
		<!-- Credentials: DB, SMS, and SMTP are loaded from .env (see .env.example at repo root) -->
		<add key="DateFormat" value="yyyy-MM-dd hh:mm tt"/>
		<add key="support" value="jas@evolutionsoftware.co.za"/>
		<add key="from" value="no-reply@evolutionsoftware.co.za"/>
		<add key="admin" value="jas@evolutionsoftware.co.za"/>
		<add key="WebAddy" value="http://localhost:17901"/>
		<add key="cc" value="jas@evolutionsoftware.co.za"/>
		<add key="bcc" value="jas@evolutionsoftware.co.za"/>
		<add key="subject" value="Evolution Software Framework - {content}"/>
		<add key="website" value="Evolution Software Framework"/>
		<add key="defaultCulture" value="en-ZA"/>
		<add key="MediSwitchResponses" value="0"/>
		<add key="defaultCulture" value="en-ZA"/>
		<add key="getCountriesFromWebService" value="0"/>
		<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"/>
		<add key="loyaltyEmail" value="0"/>
		<add key="loyaltyEmailAddy" value="jas@evolutionsoftware.co.za"/>
		<add key="loyaltyEmailHour" value="20"/>
		<!--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>
	<!--
    For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

    The following attributes can be set on the <httpRuntime> tag.
      <system.Web>
        <httpRuntime targetFramework="4.8" />
      </system.Web>
  -->
	<system.web>
		<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 debug="true" targetFramework="4.8">
			<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"/>
				<add assembly="Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
			</assemblies>
		</compilation>
		<globalization uiCulture="en" culture="en-US"/>
		<httpRuntime maxRequestLength="10048"/>
		<httpHandlers>
			<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" 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"/>
		</httpHandlers>
		<anonymousIdentification enabled="true"/>
		<sessionState timeout="60"/>
	</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://localhost:58913/framework_service.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Iframework_service" contract="framework_service.Iframework_service" name="Iframework_serviceDev"/>
			<endpoint address="http://service.mypalette.co.za/framework_service.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Iframework_service" contract="framework_service.Iframework_service" name="Iframework_service"/>
			<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>
	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
			<dependentAssembly>
				<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral"/>
				<bindingRedirect oldVersion="0.0.0.0-2017.2.711.45" newVersion="2017.2.711.45"/>
			</dependentAssembly>
		</assemblyBinding>
	</runtime>
	<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>