Advertisement
Guest User

Server

a guest
Mar 21st, 2013
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.34 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3.   <connectionStrings>
  4.     <add name="CalculationContainer" connectionString="metadata=res://*/Calculation.csdl|res://*/Calculation.ssdl|res://*/21.03.2013Calculation.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=localhost\SQLExpress;initial catalog=MyDatabase;User ID=xxx;Password=xxx;pooling=true;Max Pool Size=10000;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  5.   </connectionStrings>
  6.   <system.serviceModel>
  7.     <bindings>
  8.       <basicHttpBinding>        
  9.         <binding name="BasicHttpBinding_IMyPdfService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="6553600" maxBufferPoolSize="52428800" maxReceivedMessageSize="6553600" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
  10.           <readerQuotas maxDepth="32" maxStringContentLength="3276800" maxArrayLength="3276800" maxBytesPerRead="16384000" maxNameTableCharCount="1048576" />
  11.           <security mode="None">
  12.             <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
  13.             <message clientCredentialType="UserName" algorithmSuite="Default" />
  14.           </security>
  15.         </binding>
  16.       </basicHttpBinding>
  17.     </bindings>
  18.     <client>
  19.       <endpoint address="http://xxx/xxx/MyPdfService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IMyPdfService" contract="MyPdfServiceReference.IMyPdfService" name="BasicHttpBinding_IMyPdfService" />
  20.     </client>
  21.     <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  22.     <behaviors>
  23.       <serviceBehaviors>
  24.         <behavior name="CalculationBehavior">
  25.           <serviceMetadata httpGetEnabled="true" />
  26.           <serviceDebug includeExceptionDetailInFaults="true" />
  27.           <dataContractSerializer maxItemsInObjectGraph="2147483647" />
  28.         </behavior>
  29.         <behavior name="">
  30.           <serviceMetadata httpGetEnabled="true" />
  31.           <serviceDebug includeExceptionDetailInFaults="true" />
  32.           <dataContractSerializer maxItemsInObjectGraph="2147483647" />
  33.         </behavior>
  34.       </serviceBehaviors>
  35.     </behaviors>
  36.     <services>
  37.       <service name="xxx.CalculationService.CalculationService" behaviorConfiguration="CalculationBehavior">
  38.         <endpoint address="" behaviorConfiguration="" binding="basicHttpBinding" bindingNamespace="http://xxx/xxx/calculation" contract="xxx.CalculationService.ICalculationService" />
  39.         <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  40.       </service>
  41.     </services>
  42.         <diagnostics>
  43.             <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
  44.         </diagnostics>
  45.   </system.serviceModel>
  46.   <system.web>
  47.     <httpRuntime executionTimeout="240" maxRequestLength="262144" />
  48.     <compilation targetFramework="4.0">
  49.     </compilation>
  50.   </system.web>
  51.     <system.diagnostics>
  52.         <sources>
  53.             <source propagateActivity="true" name="System.ServiceModel" switchValue="Verbose, ActivityTracing">
  54.                 <listeners>
  55.                     <add name="AppFabricTracing" />
  56.                 </listeners>
  57.             </source>
  58.             <source propagateActivity="true" name="System.Activities" switchValue="Verbose, ActivityTracing">
  59.                 <listeners>
  60.                     <add name="AppFabricTracing" />
  61.                 </listeners>
  62.             </source>
  63.             <source name="System.ServiceModel.MessageLogging">
  64.                 <listeners>
  65.                     <add name="AppFabricMessageLogging" />
  66.                 </listeners>
  67.             </source>
  68.         </sources>
  69.         <sharedListeners>
  70.             <add name="AppFabricTracing" initializeData="C:\tmp\CalculationService\AblaufVerfolgung.svclog" type="System.Diagnostics.XmlWriterTraceListener" />
  71.             <add name="AppFabricMessageLogging" initializeData="C:\tmp\CalculationService\NachrichtenProtokoll.svclog" type="System.Diagnostics.XmlWriterTraceListener" />
  72.         </sharedListeners>
  73.     </system.diagnostics>
  74. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement