A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
☆2,414Jun 22, 2026Updated last week
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,113Jun 22, 2026Updated last week
- C# Source Generator based dependency injection container implementation.☆1,242Sep 12, 2025Updated 9 months ago
- Expose project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.☆524Jun 22, 2026Updated last week
- compile time dependency injection for .NET☆868Jun 30, 2025Updated 11 months ago
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects☆1,467Updated this week
- 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.
- Pure DI for .NET☆808Jun 18, 2026Updated last week
- PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add …☆2,198May 25, 2026Updated last month
- Next generation API for .NET☆1,945Updated this week
- C# discriminated union source generator☆877Updated this week
- A .NET library that makes it easier to create beautiful console applications.☆11,517Updated this week
- The ultimate fast alternative to Activator.CreateInstance<T> / new T()☆279Jun 19, 2026Updated last week
- Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.☆3,448Updated this week
- A powerful C# Roslyn analyzer that uses static analysis to detect bugs, surface security issues, and enforce best practices—helping devel…☆1,154Updated this week
- A high performance implementation of Mediator pattern in .NET using source generators.☆3,620Mar 22, 2026Updated 3 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- A fast, powerful, safe and lightweight scripting language and engine for .NET☆3,912Updated this week
- Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching☆4,048Jun 11, 2026Updated 2 weeks ago
- Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expre…☆1,364Jun 22, 2026Updated last week
- Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)☆1,117Jun 11, 2026Updated 2 weeks ago
- Library for interacting with command-line interfaces☆4,980Jun 13, 2026Updated 2 weeks ago
- Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection☆4,305Jan 23, 2026Updated 5 months ago
- Roslyn tool that for a given C# program shows syntax tree API calls to construct its syntax tree☆1,090May 31, 2025Updated last year
- Simple C# source generation based on custom templates☆111Aug 7, 2023Updated 2 years ago
- High performance understanding for stack traces (Make error logs more productive)☆2,867Mar 14, 2024Updated 2 years ago
- 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 automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your RES…☆9,528Jun 22, 2026Updated last week
- World's Fastest .NET CSV Parser. Modern, minimal, fast, zero allocation, reading and writing of separated values (`csv`, `tsv` etc.). Cro…☆1,455Jun 13, 2026Updated 2 weeks ago
- A library to provide pooling for .NET MemoryStream objects to improve application performance.☆2,135Updated this week
- FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.☆3,799May 20, 2026Updated last month
- Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.☆2,200May 20, 2026Updated last month
- Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and mo…☆4,285Jul 20, 2025Updated 11 months ago
- A source generator for generating fast "reflection" methods for enums☆1,118May 11, 2026Updated last month
- .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,699Mar 25, 2026Updated 3 months ago
- A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.☆9,706Dec 22, 2025Updated 6 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- A modern, fast and flexible .NET testing framework☆3,891Updated this week
- Curated list of awesome Roslyn books, tutorials, open-source projects, analyzers, code fixes, refactorings, and source generators☆733Jan 16, 2024Updated 2 years ago
- 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 …☆198Apr 1, 2025Updated last year
- A fast, fun and stimulating object to object Mapper☆5,137Updated this week
- A source code generator for automatically implementing IEquatable<T> using only attributes.☆190Mar 29, 2026Updated 3 months ago
- Powerful .NET library for benchmarking☆11,428Updated this week
- Roslynator is a set of code analysis tools for C#, powered by Roslyn.☆3,441Mar 25, 2026Updated 3 months ago