Nat Luengnaruemitchai

Geek Blog

  Home  |   Contact  |   Syndication    |   Login
  99 Posts | 0 Stories | 212 Comments | 236 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>
posted on Monday, February 16, 2009 11:09 PM