I am writing a Portable Class Library to be shared by desktop and WP8. In the library there is a method to get data from a website, in which method a chain of web requests have to be made in synchronized way and in certain order, result from each response feeds the next request, only the final response is interesting to user.

If this is a desktop .NET library, I would use GetResponse() and have all the logic in one method. I would invoke this whole method in a background thread to avoid blocking UI interaction. 

In PCL/WP8 there's only BeginGetResponse(), is there a design pattern or syntactic sugar I can leverage to write the synchronized call chain in a sequential way instead of having a bunch of callback methods?


Question: To what extent does the Law of Moses still apply?
Answer: Paul writes that in our baptism we go down into the water with Jesus and die with him, setting us free from our old husband, the law,-then,...still in Christ, we also participate in Jesus' resurrection and we come up out of the water with Jesus into resurrected new life in Christ, and Paul writes, 'we are free to marry another', which we do, and it is Jesus.

This is the clearest picture of what happens to us as we are baptized into Christ and become married to him. Because we died, we are free from our former spouse, the law,..
....because death dissolves marriages and frees the living spouse to marry again, as Jesus taught. The law our former spouse did not change, we changed, because we died 'in Christ' we became 'free from the law'. 

The law with all of its demands is still the law, but, because we died with Jesus, 'in Him', the law can no longer access us, because we, upon resurrecting with Jesus, became free to marry another, and we do, we marry Jesus, becoming His spouse.

The law is the same with its demands, we have changed. We have a new relationship with one who is all-encompassing and in whom we find our all in all, who protects us from the law and all of its effects.

Paul further writes, 'does this mean that we should sin freely, then? By all means, No!'

However, 'sin will no longer have any dominion over us.'

Romans 7:4-6King James Version (KJV)

4 Wherefore, my brethren, ye also are become dead to the law by the body of Christ; that ye should be married to another, even to him who is raised from the dead, that we should bring forth fruit unto God. (a fruitful marriage partner)

5 For when we were in the flesh, the motions of sins, which were by the law, did work in our members to bring forth fruit unto death.

6 But now we are delivered from the law, that being dead wherein we were held; that we should serve in newness of spirit, and not in the oldness of the letter.

(In other words, don't continue to sin, but for a new and different reason and with a new and different source of power)

(Romans 6, concurs)