Advertisement
Guest User

WCFServerConfig

a guest
Jan 6th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.76 KB | None | 0 0
  1. <configuration>  
  2.       <system.web>
  3.         <compilation debug="true" targetFramework="4.5"/>
  4.         <httpRuntime targetFramework="4.5"/>
  5.         <authentication mode="Windows"/>
  6.         <pages controlRenderingCompatibilityVersion="4.0"/>
  7.       </system.web>
  8.  
  9.       <system.serviceModel>
  10.    
  11.         <behaviors>
  12.           <serviceBehaviors>
  13.             <behavior name="DefaultBehaviour">
  14.               <serviceMetadata httpGetEnabled="true"/>
  15.               <serviceDebug includeExceptionDetailInFaults="true"/>
  16.               <serviceAuthorization impersonateCallerForAllOperations="true"/>
  17.             </behavior>
  18.           </serviceBehaviors>
  19.         </behaviors>
  20.    
  21.         <bindings>
  22.           <basicHttpBinding>
  23.             <binding name="basicBinding" maxReceivedMessageSize="2147483647">
  24.               <readerQuotas maxStringContentLength="20000000"/>
  25.               <security mode="TransportCredentialOnly">
  26.                 <transport clientCredentialType="Digest" realm=""/>
  27.               </security>
  28.             </binding>
  29.           </basicHttpBinding>
  30.         </bindings>
  31.    
  32.         <services>
  33.           <service behaviorConfiguration="DefaultBehaviour" name="TestExecutionEngine.SubmissionService">
  34.             <endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicBinding" contract="TestExecutionEngine.ITestExecutionEngine"/>
  35.           </service>
  36.         </services>
  37.  
  38.         <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
  39.       </system.serviceModel>
  40.  
  41.       <system.webServer>
  42.         <modules runAllManagedModulesForAllRequests="true"/>
  43.         <validation validateIntegratedModeConfiguration="false"/>
  44.         <directoryBrowse enabled="false"/>
  45.       </system.webServer>
  46.     </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement