Finding threading issues in code quickly

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Well the problem is that there isnt really any proper toolchain for this. https://github.com/Cybermaxs/awesome-analyzer here you can find some analyzers that I would recommend. I would suggest roslynator, errorprone, sonar and multithreading analyzers. Also you might want to check out the one created by microsoft (altough as I understand this is more for desktop/vs plugin scenarios) https://www.nuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers/ Keep in mind that altough theese analyzers can help you they can also easily stab you in the back if you are apply refactorings without understanding them. (for example blindly using ConfigureAwait(false) with async code is fine in an aspnet app but might backfire in uwp or wpf.

  • coyote

    Coyote is a library and tool for testing concurrent C# code and deterministically reproducing bugs.

  • The closest I can think of is https://github.com/microsoft/coyote

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts