title: How do I convert .net 4.5 Async/Await example back to 4.0
body: <p>What would the equivalent asp.net mvc 4.0 code look like?</p>
  
  <pre><code>using System.Net;
  using System.Net.Http;
  using System.Web.Mvc;
  using System.Threading.Tasks;
  using Newtonsoft.Json;
  namespace Web.Controllers
  {
      public class HomeController : Controller
      {
          private HttpClient httpClient = new HttpClient();
          private static dynamic shots;
  
          public async Task&lt;ActionResult&gt; Index()
          {
              if (shots == null)
              {
                  try
                  {
                      var responseMessage = 
                         await httpClient.GetAsync
                              ("http://api.dribbble.com/shots/everyone?per_page=30");
                      responseMessage.EnsureSuccessStatusCode();
  
                      var value = await responseMessage.Content.ReadAsStringAsync();
                      shots = await JsonConvert.DeserializeObjectAsync&lt;dynamic&gt;(value);
                  }
                  catch (WebException)
                  {
                  }
              }
              return View(shots);
          }
      }
  }
  </code></pre>