Nullable reference types and DTOs

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • csharplang

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

  • It’s basically an unsolved problem as of C# 10. Possibly resolved in 11. https://github.com/dotnet/csharplang/issues/3630

  • ReferenceAssemblyAnnotator

    IL weaver to add nullability annotations to .NET reference assemblies (by jnm2)

  • In the case of NRT, most of the feature lives in the compiler. Annotations, of course, live in the BCL, which is why I recommend https://github.com/jnm2/ReferenceAssemblyAnnotator — that way, you can use something like Dictionary.TryGetValue() in your .NET Standard 2.0 code, and the compiler will know that the out value is null if the method returns false.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB 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