title: C#: Waiting for a request to finish in C# 4.5
body: <p>I have a http request in my asp.net 4.0 application. I would like for the thread to wait before it continues on. </p>
  
  <pre><code>HttpClient client = new HttpClient();
  HttpResponseMessage responseMsg = client.GetAsync(requesturl).Result;
  
  // I would like to wait till complete.
  
  responseMsg.EnsureSuccessStatusCode();
  Task&lt;string&gt; responseBody = responseMsg.Content.ReadAsStringAsync();
  </code></pre>