When I create a WCF application using the built-in Visual Studio templates and try calling it while in a loop, only 5 requests get through. The service then stops responding. The only way that I can get around this is to close the connections after each call.
I know that you are supposed to clean up after yourself, but I also know that you didn't have to do this with web services. A lot of the people who are going to be hitting our service won't close their connection.
Is there a way to get the same behavior with WCF?
Here is my config
<system.serviceModel>
<services>
<service name="WorkflowLibrary1.Workflow1" behaviorConfiguration="WorkflowLibrary1.Workflow1.Service1Behavior">
<endpoint address="" binding="wsHttpContextBinding" contract="WcfServiceLibrary1.IService1"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="WorkflowLibrary1.Workflow1.Service1Behavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</serviceBehaviors>
</behaviors>
</system.serviceModel>