Wednesday, February 24, 2016

HttpWebRequest.GetResponse() - Operation timed out

Problem
When I try for downloading the file from remote location using HTTP web request in C#, It works for 1st time and throws operation timeout from 2nd time.

Solution 
I added the following lines in App.config, It started working properly

Copy Snippet - https://gist.github.com/jayavelcs/4da70bbf0fb0ae9b193b


No comments: