C# source-generation

Open-source C# projects categorized as source-generation

Top 7 C# source-generation Projects

source-generation
  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. 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
  3. C-sharp-stack-only-json-parser

    Stack only json deserialization using generators and the System.Text.Json library

  4. Durian

    Durian is a collection of Roslyn-based analyzers and source generators that extend the default capabilities of C#.

  5. SmartAnnotations

    A library for .NET that uses source generators to automatically generate data annotations for your models.

  6. WrapperValueObject

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

  7. ZeroIoC

    ZeroIoC is reflectionless IoC Container for C#

  8. generator-start

    template repository for a roslyn source generator

  9. 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
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-generation discussion

Log in or Post with

C# source-generation related posts

  • I recreated C++'s default type parameters using Roslyn

    1 project | /r/csharp | 3 Jun 2021
  • Displaying Enums with custom value

    2 projects | /r/csharp | 4 Apr 2021
  • Source generator for data annotations.

    1 project | /r/dotnet | 3 Apr 2021

Index

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

# Project Stars
1 Mediator 2,935
2 C-sharp-stack-only-json-parser 294
3 Durian 65
4 SmartAnnotations 58
5 WrapperValueObject 53
6 ZeroIoC 47
7 generator-start 22

Sponsored
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.com

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