17 Repos
Tools that automate code generation during compilation.
Explore 17 awesome GitHub repositories matching part of an awesome list · Source Generators. Refine with filters or upvote what's useful.
Documentation and samples Source Generators Meta - libs and generators for other generators Tips & Tricks Articles Videos Demo, PoC and excercise projects Projects using custom Source Generators "internally"
Curated list of learning resources and experimental source generators.
A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
Value object generator with built-in analyzers.
Compile Time Dependency Injection For C#
Compile-time checked and reflection-free dependency injection.
Source generator for discriminated unions.
C# Toolkit for Code Generation (T4 alternative!)
Toolkit for generating code using C# templates.
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.
Generator for creating enumeration classes from enums.
Json library that uses .NET 5 c# Source Generators
Reflection-free JSON serialization generated at compile time.
Generate fluent builders for your C# classes with ease.
Generator for creating fluent APIs for classes.
StructPacker is binary serializer that auto-generates C# serialization code to achieve peak runtime performance and efficiency.
Performance-focused serialization for C# struct types.
Generates a synchronized version of an async method
Generator for creating synchronous versions of async methods.
A .NET source generator for creating simple value objects wrapping primitive types.
Boilerplate-free creation of strongly typed wrappers.
BlazorOcticons is an easy-to-use GitHub Octicons built as customizable .razor components
Generates icon components from Octicons using source generators.
Purpose - Status - Design features - Other features - Performance - How to try - Design To be fair: design drawbacks at first place Cluster Cluster life cycle Child clusters Syntax Regular singleton/transient/custom binding Regular const binding Conditional bindings Predefined…
Compile-time dependency injection container for improved performance.
Generates Blazor -> Javascript strongly typed interop methods.
Creates strongly typed JavaScript interop methods automatically.
Strongly typed Razor Page Route Generator (also works with Blazor)
Generates navigation methods to avoid hardcoded URL strings.
SVG to C# Compiler
Compiler for converting SVG markup into C# code.
A C# source generator that automatically implements IEquatable , Equals, and GetHashCode — using just attributes.
Automatically implements equality and hashing for classes and records.