Hi,
i am using below method to send request to 3 party.it takes about 5 minutes to proces 1000 request .can you please provide me some better method as i used to send 5-7 lac request to 3 party due to which request is getting delayed.
WebRequest request = WebRequest.Create(URL);
WebResponse response = request.GetResponse();
new StreamReader(response.GetResponseStream()).ReadToEnd();
response.Close();
WebResponse response = request.GetResponse();
new StreamReader(response.GetResponseStream()).ReadToEnd();
response.Close();

Nilesh ShahRank #42 · 34.2K reputationPosted Aug 15, 2017, 5:44 AM EDT
the resposnse time does not only depend on your code.
it also depends on many more things - network speed, traffic, server capacity, the content being downloaded, etc.
Catcher WongRank #286 · 8.8K reputationPosted Aug 15, 2017, 6:40 AM EDT
tarun janvejaRank #4,815 · 324 reputationPosted Aug 15, 2017, 5:57 AM EDT
Nigel FernandesRank #753 · 3.1K reputationPosted Aug 15, 2017, 5:59 PM EDT
tarun janvejaRank #4,815 · 324 reputationPosted Aug 16, 2017, 5:16 AM EDT
Nigel FernandesRank #753 · 3.1K reputationPosted Aug 16, 2017, 3:26 PM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted Aug 22, 2017, 5:20 AM EDT
tarun janveja
Did you find any solution? If my answer worked for you, please mark it as "Accepted" and close this question.
If other person's answer worked for you mark his/her answer as "Accepted" and close this question.
If you found solution by yourself, post it here for others and close this question.