Synchronous Operations Are Disallowed in ASP.NET Core: Causes and Fixes
You upgraded a service, deployed it, and a single endpoint started throwing this:
System.InvalidOperationException: Synchronous operations are disallowed.
Call ReadAsync or set AllowSynchronousIO to t
codingdroplets.com9 min read