There are many pieces related to an httpwebrequest that can go asynchronous. I recall reading a question here about this very topic, but I can't seem to find it any more. So I'll re-ask the question. Which of the following get the most bang for the buck (so to speak).
BeginGetRequestStream/EndGetRequestStream
BeginWrite/EndWrite
BeginGetResponse/EndGetResponse
BeginRead/EndRead
I understand that BeginGetResponse must be paired with BeginGetRequestStream. So no need to reiterate that fact.
From the investigating I've done, it seems like BeginRead/EndRead may have the most potential. This came a little as a shock. It seems that EndGetResponse returns fairly quickly and there is significant delay after "first contact" and any real data coming to read. I'm pretty sure I am getting some headers immediately, and then a long delay, followed by the data I want.
I guess my real question is: Am I doing something wrong with BeginGetResponse or is the real valuable player here BeginRead?
As always, thanks in advance.