I am trying to understand why and when should I use an async controller action. Eventually, when I use await in it, it will wait for the operation to complete in order to return the View.
For example
public async Task<ActionResult> TryMe()
{
await SomeActionAsync();
return View();
}
In this case if I use the async or not using the async, the Action will take the same time to execute.
If I am not trying to run at least 2 slow operations (that are not dependent on each other) in parallel, I don't see any reason to use an async controller action.
Please correct me if I'm wrong. I think I'm missing something here.