0

当我在 .Net 4.0 下发出 GetResponse 时,Windows 7 64bit
响应时间约为 30 秒。如果我使用 IE9 或 Firefox 进行相同的调用,响应时间几乎是即时的。C#代码是...

var webRequest = (HttpWebRequest)WebRequest.Create(url);
var objStream = webRequest.GetResponse().GetResponseStream();

两个调用都返回相同的 JSON。

4

1 回答 1

0

After further testing, it appears that only the first request takes 30 secs. Additional requests in the same session take 1-2 secs, which is still too long. The browser response time is still immediate. Looking for any guidance.

于 2013-01-26T14:43:35.943 回答