A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
☆2,415Sep 2, 2026Updated last month
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,199Updated this week
- Expose project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.☆532Updated this week
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects☆1,510Updated this week
- C# Source Generator based dependency injection container implementation.☆1,253Sep 12, 2025Updated last year
- compile time dependency injection for .NET☆865Jun 30, 2025Updated last year
- 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.
- C# discriminated union source generator☆887Oct 14, 2026Updated 2 weeks ago
- Pure DI for .NET☆846Updated this week
- PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add …☆2,243Updated this week
- Next generation API for .NET☆1,967Updated this week
- A high performance implementation of Mediator pattern in .NET using source generators.☆3,746Sep 1, 2026Updated last month
- A .NET library that makes it easier to create beautiful console applications.☆11,678Updated this week
- Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.☆3,473Updated this week
- Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expre…☆1,378Oct 19, 2026Updated last week
- A fast, powerful, safe and lightweight scripting language and engine for .NET☆3,983Updated this week
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- The ultimate fast alternative to Activator.CreateInstance<T> / new T()☆280Aug 25, 2026Updated 2 months ago
- Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)☆1,132Sep 8, 2026Updated last month
- A powerful C# Roslyn analyzer that uses static analysis to detect bugs, surface security issues, and enforce best practices—helping devel…☆1,214Updated this week
- Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching☆4,059Sep 27, 2026Updated last month
- Library for interacting with command-line interfaces☆5,010Updated this week
- Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.☆2,228Updated this week
- Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection☆4,352Jan 23, 2026Updated 9 months ago
- A source generator for generating fast "reflection" methods for enums☆1,125May 11, 2026Updated 5 months ago
- A source code generator for automatically implementing IEquatable<T> using only attributes.☆192Oct 19, 2026Updated last week
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- World's Fastest .NET CSV Parser. Modern, minimal, fast, zero allocation, reading and writing of separated values (`csv`, `tsv` etc.). Cro…☆1,480Oct 19, 2026Updated last week
- High performance understanding for stack traces (Make error logs more productive)☆2,860Mar 14, 2024Updated 2 years ago
- A modern, fast and flexible .NET testing framework☆3,981Updated this week
- The automatic type-safe REST library for .NET. Refit turns a REST API into a C# interface and generates the HttpClient implementation, wi…☆9,580Updated this week
- Roslyn tool that for a given C# program shows syntax tree API calls to construct its syntax tree☆1,107May 31, 2025Updated last year
- A library to provide pooling for .NET MemoryStream objects to improve application performance.☆2,151Updated this week
- Simple C# source generation based on custom templates☆113Aug 7, 2023Updated 3 years ago
- FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.☆3,939Sep 22, 2026Updated last month
- Practical generic programming for .NET☆289Oct 21, 2026Updated last week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- A Rosyln-powered generator for strongly-typed IDs☆1,755Feb 21, 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,775Mar 25, 2026Updated 7 months ago
- A fast, fun and stimulating object to object Mapper☆5,184Oct 21, 2026Updated last week
- Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and mo…☆4,287Jul 20, 2025Updated last year
- A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.☆9,747Dec 22, 2025Updated 10 months ago
- Roslynator is a set of code analysis tools for C#, powered by Roslyn.☆3,491Oct 4, 2026Updated 3 weeks ago
- Curated list of awesome Roslyn books, tutorials, open-source projects, analyzers, code fixes, refactorings, and source generators☆734Jan 16, 2024Updated 2 years ago