Multiple concurrent WCF calls from single client to Service -


i have service calls service on machine , number of concurrent connections can 2. have tried changing throttling on wcf service behaviour no effect. have read because of http limit of 2 concurrent connections client machine server. how overcome this? os on both machines server 2003.

config:

<servicebehaviors>     <behavior name="myservicetypebehaviors">       <servicemetadata httpgetenabled="true" />       <servicethrottling maxconcurrentcalls="100" maxconcurrentinstances="100" maxconcurrentsessions="100"/>     </behavior>   </servicebehaviors>  <system.net> <connectionmanagement>   <add address="*" maxconnection="100" /> </connectionmanagement> 

you have overcome client code (from service calls other service). use code in initialization of service application increase connections:

system.net.servicepointmanager.defaultconnectionlimit = 10; 

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -