Hi Mach2,
Welcome to MSDN newsgroup.
Regarding on the problem you described, I think it is caused by the default
two http connection limitation of each .net application. In .net , there
are connection management configuration settings which control the
connections allowed to remote servers. The setting are under the
<system.net>
<connectionManagement>
#<connectionManagement> Element
http://msdn.microsoft.com/library/en...nectionmanagem
entelement.asp?frame=true
the default connection limitation for every remote server is 2. That's why
you'll found your 3rd request to a single server pending until one of the
former 2 complete. We can override the limitation for that certain server
in our client app's app.config, for example:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.net>
<connectionManagement>
<add address = "http://remoteserver/HelloService/Service1.asmx"
maxconnection = "4" />
<add address = "*" maxconnection = "2" />
</connectionManagement>
</system.net>
</configuration>
the above app.config adjust the connection limit for "remoteserver" to 4.
Then, we can make at most 4 requests concurrently to that server.
In addition, the following kb article also include this info and some other
common issues we may meet when consuming asp.net webservice in .net client
app.
#PRB: Contention, poor performance, and deadlocks when you make Web service
requests from ASP.NET applications
http://support.microsoft.com/?id=821268
Hope also helps.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)