Task.WaitAll hanging with multiple awaitable tasks in ASP.NET
Below is a simplified version of the code I’m having trouble with. When I run this in a console application, it works as expected. All queries are run in parallel and Task.WaitAll() returns when they are all complete.