Does your .NET application need to make a large number of HTTP requests concurrently? Be warned that the amount of simultaneous HTTP connections might get throttled by the .NET Framework. Often this can be a good thing, as it is a restriction that is designed to help protect an application from harming a larger system.
Don't worry, you can easily raise the connection limit by adding a simple Connection Management Section to your app.config or web.config:
<configuration>
<system.net>
<connectionManagement>
<add address="*" maxconnection="10000" />
</connectionManagement>
</system.net>
</configuration>
Enjoy,
Tom
No comments:
Post a Comment