C# Code Generation

Open-source C# projects categorized as Code Generation

Top 15 C# Code Generation Projects

Code Generation
  1. Entitas

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

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

    Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.

  4. EntityFramework-Reverse-POCO-Code-First-Generator

    EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics (you need a .edu or a .ac email address), not free for commercial use. Obtain your licence from

  5. Metalama

    A meta-programming framework for code generation, aspect-oriented programming, and architecture verification of large C# codebases.

  6. Testura.Code

    Testura.Code is a wrapper around the Roslyn API and used for generation, saving and compiling C# code. It provides methods and helpers to generate classes, methods, statements and expressions.

  7. UI-Toolkit-Plus

    Boilerplate Code Generation, Tabs, Reorderable Manipulator, Built-in USS Exporter

  8. ExpressionTreeToString

    String representations of expression trees + library of expression tree objects

  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
  10. NTypewriter

    File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.

  11. Textrude

    Code generation from YAML/JSON/CSV models via SCRIBAN templates

  12. M31.FluentAPI

    Generate fluent builders for your C# classes with ease.

  13. Coalesce

    Quickly build amazing web apps

  14. NeoApps.AI-CodeGenerator

    World's first no-code low-code app builder focuses on a data-first approach, allowing users to create applications from scratch. The code generator builds a drag-and-drop React application along with a .NET Core API and a MySQL database.

  15. PocketBaseClient

    C# client to interact with a particular PocketBase application: an ORM mapped to your PocketBase server. [This project is in active development. The things described below could change]

  16. DapperCodeGenerator

    Simple C# Code Generator to create Database Models and Dapper CRUD

  17. rxcg

    A regular expression matcher generator for C

  18. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub 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# Code Generation discussion

Log in or Post with

C# Code Generation related posts

  • .NET Compiler Platform ("Roslyn") Analyzers VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • StyleCop VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • StyleCopAnalyzers VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • NConcern VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • Metalama VS Fody - a user suggested alternative

    2 projects | 7 Dec 2023
  • Ever wanted to see USS selectors for Unity's Visual Elements? With this tool, you can! github.com/ErnSur/UI-Toolkit-Plus

    1 project | /r/Unity3D | 22 Oct 2022
  • We all make mistakes sometimes..

    2 projects | /r/csharp | 13 Oct 2022
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    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! Learn more →

Index

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

# Project Stars
1 Entitas 7,429
2 FastExpressionCompiler 1,302
3 EntityFramework-Reverse-POCO-Code-First-Generator 709
4 Metalama 330
5 Testura.Code 299
6 UI-Toolkit-Plus 217
7 ExpressionTreeToString 159
8 NTypewriter 140
9 Textrude 135
10 M31.FluentAPI 124
11 Coalesce 71
12 NeoApps.AI-CodeGenerator 57
13 PocketBaseClient 51
14 DapperCodeGenerator 48
15 rxcg 1

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?