A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
☆2,418Sep 2, 2026Updated 2 months ago
Alternatives and similar repositories for csharp-source-generators
Users that are interested in csharp-source-generators are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- A .NET source generator for generating object mappings. No runtime reflection.☆4,210Updated this week
- Expose project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.☆533Updated this week
- C# Source Generator based dependency injection container implementation.☆1,256Sep 12, 2025Updated last year
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects☆1,517Updated this week
- compile time dependency injection for .NET☆866Jun 30, 2025Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- C# discriminated union source generator☆890Updated this week
- PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add …☆2,254Updated this week
- Pure DI for .NET☆849Updated this week
- Next generation API for .NET☆1,970Updated this week
- A .NET library that makes it easier to create beautiful console applications.☆11,700Updated this week
- Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.☆3,474Updated this week
- A high performance implementation of Mediator pattern in .NET using source generators.☆3,758Sep 1, 2026Updated 2 months ago
- Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expre…☆1,380Updated this week
- Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)☆1,134Updated this week
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- A fast, powerful, safe and lightweight scripting language and engine for .NET☆3,999Nov 8, 2026Updated last week
- A powerful C# Roslyn analyzer that uses static analysis to detect bugs, surface security issues, and enforce best practices—helping devel…☆1,221Updated this week
- Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching☆4,059Sep 27, 2026Updated last month
- The ultimate fast alternative to Activator.CreateInstance<T> / new T()☆280Aug 25, 2026Updated 2 months ago
- Library for interacting with command-line interfaces☆5,014Nov 4, 2026Updated last week
- Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.☆2,241Updated this week
- Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection☆4,353Jan 23, 2026Updated 9 months ago
- A source generator for generating fast "reflection" methods for enums☆1,126May 11, 2026Updated 6 months ago
- High performance understanding for stack traces (Make error logs more productive)☆2,862Mar 14, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Simple C# source generation based on custom templates☆113Aug 7, 2023Updated 3 years ago
- The automatic type-safe REST library for .NET. Refit turns a REST API into a C# interface and generates the HttpClient implementation, wi…☆9,587Updated this week
- A library to provide pooling for .NET MemoryStream objects to improve application performance.☆2,154Updated this week
- A Rosyln-powered generator for strongly-typed IDs☆1,755Feb 21, 2025Updated last year
- A source code generator for automatically implementing IEquatable<T> using only attributes.☆194Oct 19, 2026Updated 3 weeks ago
- A modern, fast and flexible .NET testing framework☆3,989Updated this week
- Roslyn tool that for a given C# program shows syntax tree API calls to construct its syntax tree☆1,106May 31, 2025Updated last year
- Practical generic programming for .NET☆292Updated this week
- A fast, fun and stimulating object to object Mapper☆5,191Nov 2, 2026Updated 2 weeks ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- One of the World's Fastest .NET CSV Parsers. Modern, minimal, fast, zero allocation, reading and writing of separated values (`csv`, `tsv…☆1,484Updated this week
- FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.☆3,954Nov 10, 2026Updated last week
- Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and mo…☆4,286Jul 20, 2025Updated last year
- .NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform…☆3,773Mar 25, 2026Updated 7 months ago
- Roslynator is a set of code analysis tools for C#, powered by Roslyn.☆3,501Nov 1, 2026Updated 2 weeks ago
- A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.☆9,752Dec 22, 2025Updated 10 months ago
- Powerful .NET library for benchmarking☆11,529Updated this week
Are these results useful?