Last Updated: February 25, 2016
·
384
· playerx

.NET Limited Http requests

When you are creating .net application, where u have multiple http requests to other internet resources, keep in mind that there are limited concurrent connections allowed (default is 2)

It was big trouble for me, in production, so i hope this tip will help you.

Solution:

ServicePointManager.DefaultConnectionLimit = 1000;

Note: for ASP.NET default is 10