await vs Task.Wait – Deadlock?
I don’t quite understand the difference between Task.Wait and await. I have something similar to the following functions in a ASP.NET WebAPI service: public class TestController : ApiController { public static async Task<string> Foo() { await Task.Delay(1).ConfigureAwait(false); return “”; } public async static Task<string> Bar() { return await Foo(); } public async static Task<string> Ros() … Read more