title: Good Async pattern for sequential WebClient requests
body: <p>Most of the code I've written in .NET to make REST calls have been synchronous. Since Silverlight on Windows Phone only supports Async WebClient and HttpWebRequest calls, I was wondering what a good async pattern is for a Class that exposes methods that make REST calls.</p>
  
  <p>For example, I have an app that needs to do the following.</p>
  
  <ol>
  <li>Login and get token</li>
  <li>Using token from #1, get a list of albums</li>
  <li>Using token from #1 get a list of categories</li>
  <li>etc</li>
  </ol>
  
  <p>my class exposes a few methods:</p>
  
  <ol>
  <li>Login()</li>
  <li>GetAlbums()</li>
  <li>GetCategories()</li>
  </ol>
  
  <p>since each method needs to call WebClient using Async calls what I need to do is essentially block calling Login till it returns so that I can call GetAlbums().</p>
  
  <p>What is a good way to go about this in my class that exposes those methods?</p>