.NET 7 Preview 5 - Generic Math

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
  • csharplang

    The official repo for the design of the C# programming language

  • I'd recommend opening a discussion thread on https://github.com/dotnet/csharplang/discussions/new to see if this is something the language could possibly provide as a separate feature so that all kinds of enums work, regardless of target framework or what compiled them.

  • StronglyTypedId

    A Rosyln-powered generator for strongly-typed IDs

  • There is a github project StronglyTypedId which promises to support the latter kind of thing via source generation though I haven't yet tried it in practice.

  • 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
  • UnitGenerator

    C# Source Generator to create value-object, inspired by units of measure.

  • You might wanna take a look at https://github.com/Cysharp/UnitGenerator we've used it on some of our systems at work and works pretty well overall as Value Objects.

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