Raw threads and async lambdas

added by DotNetKicks
9/7/2018 10:49:24 AM

1 Kicks, 1317 Views

Senior Consultant, Ben Williams shares some suggestions on avoiding unexpected behaviors with async/lambdas Using async methods/lambdas where they are not expected causes unexpected problems. The typical example I discuss with people is TaskFactory.StartNew() because it's an easy way to create Tasks and some people reach for that instead of Task.Run(), but I recently came across...