Top 7 C# roslyn-generator Projects
-
PolySharp
PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀
-
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.
-
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.
-
NTypewriter
File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.
-
HttpClientCodeGenerator
HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.
-
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.
Great improvements.
There is PolySharp project that enables you to use most of C#11 features in legacy .NET Framework: https://github.com/Sergio0694/PolySharp - Seems that C#12 features are planned to be implemented: https://github.com/Sergio0694/PolySharp/issues/78
I'm using PolySharp where I'm stuck with .NET Framework 4.6 and I don't have any issues.
Hope one day I'd see concise syntax for catch and/or try expressions: https://github.com/dotnet/csharplang/discussions/2734 - but there is a lot of resistance.
Project mention: This week I released v2.1 of my text-templating library Weave that now uses Source Generators by default. | /r/dotnet | 2023-12-07I am currently using NTypewriter for code generation.
Index
What are some of the best open-source roslyn-generator projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | PolySharp | 1,631 |
2 | jab | 1,005 |
3 | Enum.Source.Generator | 161 |
4 | NTypewriter | 109 |
5 | TypealizR | 72 |
6 | HttpClientCodeGenerator | 45 |
7 | generator-start | 21 |
Sponsored