- <?xml version="1.0"?>
- <configuration>
- <connectionStrings>
- <add name="JabsBaseConnectionString" connectionString="Data Source=TAHASAGHIR-PCSQLEXPRESS;Initial Catalog=JabsBase;Integrated Security=True" providerName="System.Data.SqlClient"/>
- </connectionStrings>
- <system.web>
- <compilation debug="true" targetFramework="4.0">
- <assemblies>
- <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
- </assemblies>
- </compilation>
- <httpRuntime maxRequestLength="2097151" useFullyQualifiedRedirectUrl="true"/>
- </system.web>
- <system.serviceModel>
- <serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true" />
- <bindings>
- <basicHttpBinding>
- <binding name="SendLargeChat"
- allowCookies="false"
- bypassProxyOnLocal="false"
- maxBufferPoolSize="2147483647"
- maxReceivedMessageSize="2147483647"
- maxBufferSize="2147483647"
- closeTimeout="10:00:00"
- openTimeout="10:00:00"
- receiveTimeout="10:00:00"
- sendTimeout="10:00:00"
- transferMode="Streamed">
- <readerQuotas
- maxArrayLength="2147483647"
- maxBytesPerRead="2147483647"
- maxDepth="2147483647"
- maxNameTableCharCount="2147483647"
- maxStringContentLength="2147483647" />
- </binding>
- </basicHttpBinding>
- </bindings>
- <services>
- <service name="Prototype.SendChatService" behaviorConfiguration="Prototype.SendChatServiceBehavior">
- <endpoint address="" binding="basicHttpBinding" bindingConfiguration="SendLargeChat" contract="Prototype.SendChatService" />
- <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
- </service>
- </services>
- <behaviors>
- <serviceBehaviors>
- <behavior name="">
- <serviceMetadata httpGetEnabled="true" />
- <serviceDebug includeExceptionDetailInFaults="true" />
- </behavior>
- <behavior name="Prototype.SendChatServiceBehavior">
- <serviceMetadata httpGetEnabled="true"/>
- <serviceDebug includeExceptionDetailInFaults="true"/>
- <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
- </behavior>
- </serviceBehaviors>
- </behaviors>
- </system.serviceModel>
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true"/>
- </system.webServer>
- </configuration>
- <configuration>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="BasicHttpBinding_ISendChatService" maxBufferSize="2147483647"
- maxReceivedMessageSize="2147483647">
- <security mode="None" />
- </binding>
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://localhost:53756/PrototypeSite/SendChatService.svc"
- binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISendChatService"
- contract="SendChatService.ISendChatService" name="BasicHttpBinding_ISendChatService" />
- </client>
- </system.serviceModel>
- </configuration>
- <readerQuotas ...
- <httpRuntime executionTimeout="110" maxRequestLength="..." />
- <system.diagnostics>
- <sources>
- <source name="System.ServiceModel"
- switchValue="Information, ActivityTracing"
- propagateActivity="true">
- <listeners>
- <add name="traceListener"
- type="System.Diagnostics.XmlWriterTraceListener"
- initializeData= "c:logTraces.svclog" />
- </listeners>
- </source>
- </sources>
- </system.diagnostics>