Nat Luengnaruemitchai

Geek Blog

  Home  |   Contact  |   Syndication    |   Login
  100 Posts | 0 Stories | 300 Comments | 232 Trackbacks

News

Archives

Post Categories

Blogroll

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>
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Monday, February 16, 2009 11:09 PM

Feedback

# re: Maximum Concurrent HttpWebRequest 12/19/2011 3:11 PM Instant Tax Solutions Complaints
The HttpWebRequest class allows you to programatically make web requests against an HTTP server.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: