Given the following ASP.NET MVC 4 controller action:
public async Task<ActionResult> FooAsync()
{
using (var httpClient = new HttpClient())
{
var responseMessage = await httpClient.GetAsync("http://stackoverflow.com");
string response = await responseMessage.Content.ReadAsStringAsync();
return Content(response);
}
}
Do I need to put the "Async" suffix in FooAsync for the action to be run asynchronously?