C# source-generators

Open-source C# projects categorized as source-generators

Top 8 C# source-generator Projects

source-generators
  1. Mediator

    A high performance implementation of Mediator pattern in .NET using source generators. (by martinothamar)

    Project mention: De MediatR para Mediator: uma migração mais leve e performática | dev.to | 2025-05-15

    Mediator – GitHub

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. jab

    C# Source Generator based dependency injection container implementation.

    Project mention: Pure.DI VS jab - a user suggested alternative | libhunt.com/r/Pure.DI | 2024-09-24

    Jab provides a C# Source Generator based dependency injection container implementation.

  4. stronginject

    compile time dependency injection for .NET

  5. 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.

  6. Apparatus.AOT.Reflection

    Reflectionless reflection

  7. WrapperValueObject

    A .NET source generator for creating simple value objects wrapping primitive types.

  8. Postman2CSharp

    Postman2CSharp hosts the source code for https://postman2csharp.com, a website for converting Postman collections to C# ApiClients that can be seamlessly exported and imported into your project. Generated ApiClient projects contains no dependencies and highly customizable.

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. generator-start

    template repository for a roslyn source generator

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# source-generators discussion

Log in or Post with

C# source-generators related posts

  • Pure.DI VS jab - a user suggested alternative

    2 projects | 24 Sep 2024
  • Reflection -> Source Generated

    6 projects | /r/dotnet | 3 Jun 2023
  • What is the most cursed data structure you can think of?

    1 project | /r/ProgrammerHumor | 1 Jan 2023
  • Injectio - Source Generator for Dependency Injection

    3 projects | /r/csharp | 4 Nov 2022
  • You probably don't need MediatR

    4 projects | /r/dotnet | 23 Apr 2022
  • Is the era of reflection-heavy C# libraries at an end?

    3 projects | /r/csharp | 3 May 2021
  • Is the era of reflection-heavy C# libraries at an end?

    3 projects | /r/programming | 3 May 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 Sep 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source source-generator projects in C#? This list will help you:

# Project Stars
1 Mediator 2,935
2 jab 1,124
3 stronginject 860
4 Enum.Source.Generator 195
5 Apparatus.AOT.Reflection 71
6 WrapperValueObject 53
7 Postman2CSharp 52
8 generator-start 22

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C# is
the 11th most popular programming language
based on number of references?