C# multiple asynchronous HttpRequest with one callback

Posted by aepheus on Stack Overflow See other posts from Stack Overflow or by aepheus
Published on 2010-05-27T16:42:16Z Indexed on 2010/05/27 17:11 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

I want to make 10 asynchronous http requests at once and only process the results when all have completed and in a single callback function. I also do not want to block any threads using WaitAll (it is my understanding that WaitAll blocks until all are complete). I think I want to make a custom IAsyncResult which will handle multiple calls. Am I on the right track? Are there any good resources or examples out there that describe handling this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about asynchronous