.netasp.netrestweb-servicesservicepoint

System.Net.ServicePointManager.DefaultConnectionLimit and .MaxServicePointIdleTime


When would you need to adjust these two settings (below)? And what do these two numbers mean for HttpWebRequest instances that I make?

  1. System.Net.ServicePointManager.DefaultConnectionLimit
  2. System.Net.ServicePointManager.MaxServicePointIdleTime

Are ServicePoint objects specific to a domain name or each unique URI requested?


Solution

  • Here is a great explanation:

    Understanding MaxServicePointIdleTime and DefaultConnectionLimit