Geeks With Blogs
Nat Luengnaruemitchai Geek Blog

Many people have a problem when spawning multiple requests to get content from a server where only 2 requests can be processed concurrently. This is because the HTTP protocol standard suggests that HTTP client should not make more than 2 calls to a server at one time. However, in many cases, you have a need to make more than 2 requests at the same time by adding the following configuration in App.config.

 

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 
<system.net>
   
<connectionManagement>
     
<add address="*" maxconnection="10"/>
   
</connectionManagement>
 
</system.net>
</configuration>
Posted on Monday, February 16, 2009 11:09 PM | Back to top


Comments on this post: Maximum Concurrent HttpWebRequest

# re: Maximum Concurrent HttpWebRequest
Requesting Gravatar...
The HttpWebRequest class allows you to programatically make web requests against an HTTP server.
Left by Instant Tax Solutions Complaints on Dec 19, 2011 3:11 PM

Your comment:
 (will show your gravatar)


Copyright © Nat Luengnaruemitchai | Powered by: GeeksWithBlogs.net