I read Is Task.Run considered bad practice in an ASP .NET MVC Web Application? which recommends against using Task.Run()
.
However, what if you had 3 different intensive CPU bound methods you wanted to run in parallel.
Couldn't you use await Task.WhenAll(task1, task2, task3)
?
Wouldn't this result in a response being sent to the client sooner, at the expense of having fewer threads in the thread pool available to pick up new HTTP requests?