NullGuard
Adds null argument checks to an assembly (by Fody)
HttpClientCodeGenerator
HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you. (by Jalalx)
NullGuard | HttpClientCodeGenerator | |
---|---|---|
6 | 2 | |
686 | 45 | |
-0.1% | - | |
8.1 | 0.0 | |
21 days ago | over 2 years ago | |
C# | C# | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NullGuard
Posts with mentions or reviews of NullGuard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-14.
- How to write C# source code generator to generate ArgumentNullException.ThrowIfNull?
-
Which do you guys mostly use to prevent nulls? Null object pattern/special case, throw exceptions or the FP Option monad?
Nullable reference types + https://github.com/Fody/NullGuard
- That Shouldn't Happen - UnreachableException in .NET 7
-
Will we ever get a new CLR language to replace C# Like Kotlin did for Java?
I find Nullable Reference Types combined with NullGuard to be pretty good.
-
HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.
For example here from the readme I can exactly see what boilerplate is generated for me.
-
How to get rid of NullPointerException
Some tools can help to enforce this convention like ReSharper and NullGuard. I guess, although I haven’t tried this yet, you can add a custom rule to SonarQube which will alert when the word null appears.
HttpClientCodeGenerator
Posts with mentions or reviews of HttpClientCodeGenerator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-28.
What are some alternatives?
When comparing NullGuard and HttpClientCodeGenerator you can also consider the following projects:
maui-linux - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
generator-start - template repository for a roslyn source generator
Optional - A robust option type for C#
Tortuga.Shipwright - A trait engine for C#.
Enum.Source.Generator - A C# source generator to create an enumeration class from an enum type. With this package, you can work on enums very, very fast without using reflection.
M31.FluentAPI - Generate fluent APIs for your C# classes with ease.
NullGuard vs maui-linux
HttpClientCodeGenerator vs csharp-source-generators
NullGuard vs csharp-source-generators
HttpClientCodeGenerator vs generator-start
NullGuard vs Optional
HttpClientCodeGenerator vs Tortuga.Shipwright
HttpClientCodeGenerator vs Enum.Source.Generator
HttpClientCodeGenerator vs M31.FluentAPI