2013-07-09

Process timeout in C# WebRequest

WebRequest in C# default will use IE proxy setting as its proxy server. Usually its a internet proxy.
So if your web request is intent to access local network (intranet), you should disable proxy to get a better performance.

How to disable proxy when using WebRequest, it's quite simple:
request.Proxy = new WebProxy();

No comments: