Hey,
im programming on Visual Studio 2010 in C# and got a problem with the HttpWebRequest-Class.
When first connecting to a website the response takes like 2-3 seconds, after that all new request take under 1s. Its really only the first connect that takes alot of time. Anyone an idea what causes this? Im running W7 Prof.
Thx for your time!
Waiting time on HttpWebRequest First time
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #108 · 20.5K reputationPosted May 30, 2011, 10:34 AM EDT
Niklas3 reputationPosted May 31, 2011, 3:50 AM EDT
already solved it, one need to set the WebRequest.DefaultProxy = null!