Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 13th, 2013  |  syntax: None  |  size: 3.73 KB  |  hits: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0"?>
  2. <configuration>
  3.   <connectionStrings>
  4.     <add name="JabsBaseConnectionString" connectionString="Data Source=TAHASAGHIR-PCSQLEXPRESS;Initial Catalog=JabsBase;Integrated Security=True" providerName="System.Data.SqlClient"/>
  5.   </connectionStrings>
  6.   <system.web>
  7.     <compilation debug="true" targetFramework="4.0">
  8.       <assemblies>
  9.         <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  10.       </assemblies>
  11.     </compilation>
  12.     <httpRuntime maxRequestLength="2097151" useFullyQualifiedRedirectUrl="true"/>
  13.   </system.web>
  14.   <system.serviceModel>    
  15.     <serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true" />
  16.     <bindings>
  17.       <basicHttpBinding>
  18.         <binding name="SendLargeChat"
  19.                  allowCookies="false"
  20.                  bypassProxyOnLocal="false"
  21.                  maxBufferPoolSize="2147483647"
  22.                  maxReceivedMessageSize="2147483647"
  23.                  maxBufferSize="2147483647"
  24.                  closeTimeout="10:00:00"
  25.                  openTimeout="10:00:00"
  26.                  receiveTimeout="10:00:00"
  27.                  sendTimeout="10:00:00"
  28.                  transferMode="Streamed">
  29.           <readerQuotas
  30.             maxArrayLength="2147483647"
  31.             maxBytesPerRead="2147483647"
  32.             maxDepth="2147483647"
  33.             maxNameTableCharCount="2147483647"
  34.             maxStringContentLength="2147483647" />
  35.         </binding>
  36.       </basicHttpBinding>      
  37.     </bindings>
  38.     <services>
  39.       <service name="Prototype.SendChatService" behaviorConfiguration="Prototype.SendChatServiceBehavior">
  40.         <endpoint address="" binding="basicHttpBinding" bindingConfiguration="SendLargeChat" contract="Prototype.SendChatService" />
  41.         <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  42.       </service>      
  43.     </services>    
  44.     <behaviors>
  45.       <serviceBehaviors>
  46.         <behavior name="">
  47.           <serviceMetadata httpGetEnabled="true" />
  48.           <serviceDebug includeExceptionDetailInFaults="true" />
  49.         </behavior>
  50.         <behavior name="Prototype.SendChatServiceBehavior">
  51.           <serviceMetadata httpGetEnabled="true"/>
  52.           <serviceDebug includeExceptionDetailInFaults="true"/>
  53.           <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
  54.         </behavior>
  55.       </serviceBehaviors>
  56.     </behaviors>
  57.   </system.serviceModel>
  58.   <system.webServer>
  59.     <modules runAllManagedModulesForAllRequests="true"/>
  60.   </system.webServer>
  61. </configuration>
  62.        
  63. <configuration>
  64.   <system.serviceModel>
  65.     <bindings>
  66.       <basicHttpBinding>        
  67.         <binding name="BasicHttpBinding_ISendChatService" maxBufferSize="2147483647"
  68.           maxReceivedMessageSize="2147483647">
  69.           <security mode="None" />
  70.         </binding>
  71.       </basicHttpBinding>      
  72.     </bindings>
  73.     <client>      
  74.       <endpoint address="http://localhost:53756/PrototypeSite/SendChatService.svc"
  75.         binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISendChatService"
  76.         contract="SendChatService.ISendChatService" name="BasicHttpBinding_ISendChatService" />
  77.     </client>
  78.   </system.serviceModel>
  79. </configuration>
  80.        
  81. <readerQuotas ...
  82.        
  83. <httpRuntime executionTimeout="110" maxRequestLength="..." />
  84.        
  85. <system.diagnostics>
  86.     <sources>
  87.         <source name="System.ServiceModel"
  88.                   switchValue="Information, ActivityTracing"
  89.                   propagateActivity="true">
  90.             <listeners>
  91.                 <add name="traceListener"
  92.                      type="System.Diagnostics.XmlWriterTraceListener"
  93.                      initializeData= "c:logTraces.svclog" />
  94.             </listeners>
  95.         </source>
  96.     </sources>
  97. </system.diagnostics>