WCF timeouts on the server side seem not to do anything

Jun 13 2019 5:25 AM
The timeout values on the server side seem not to do anything. I host a WCF Service on IIS and have the following binding:
  1. <bindings>  
  2.   <wsHttpBinding>  
  3.     <binding name="transactionalBinding" transactionFlow="true" sendTimeout="00:00:01" receiveTimeout="00:00:01" openTimeout="00:00:01" closeTimeout="00:00:01">  
  4.       <security mode="Transport">  
  5.         <transport clientCredentialType="None" proxyCredentialType="None" realm=""/>  
  6.       </security>  
  7.     </binding>  
  8.   </wsHttpBinding>  
  9. </bindings>  
In my service method I sleep for 10 seconds. I do not get a timeout exception when calling my service method from a client.

Answers (1)