Detecting Sync over Async Code in ASP.NET Core
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. If you don’t use async/await correctly, and end up writing sync-over-async code, you’ll ultimately end up causing ThreadPool starvation. Sync over Async The term refers to making an async call but not awaiting it. Often time this is caused by calling .Wait()… Read More »Detecting Sync over Async Code in ASP.NET Core