Detecting Sync over Async Code in ASP.NET Core

added by DotNetKicks
9/11/2019 1:59:29 AM

2 Kicks, 378 Views

It's pretty easy to write some bad async code, especially when you first start using async/await. Async/await is pretty viral in .NET, which means it generally goes all the way through the stack. This can be challenging if you are trying to add async/await to an existing app and you usually end up adding sync over async code.