You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since, after all, this is distributed, the async usage of distributed locks is often the better path. Some providers may really benefit from enforced async usage.
Activity
madelson commentedon Nov 21, 2026
@gliljas I just tested https://www.nuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers with this and it seems to do a good job of flagging any use of sync locking methods in an async context. That's what I would recommend for this use-case.