nano-byte/code-generation
Thin wrapper around Roslyn API to simplify generating C# code
This helps C# developers automate the creation of C# code, such as boilerplate for APIs or databases. You provide definitions for classes, properties, and interfaces using a simplified structure, and it outputs well-formed C# code files. Developers building other tools like API code generators or Object-Relational Mappers (ORMs) would find this useful.
Use this if you are a C# developer who needs to programmatically generate C# source code in a structured way, without manually concatenating strings.
Not ideal if you need to generate code in a language other than C#, or if you require the full, fine-grained control offered by the Roslyn API directly.
Stars
7
Forks
1
Language
C#
License
MIT
Category
Last pushed
Mar 17, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/nano-byte/code-generation"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
serenity-is/Serenity
Business Apps Made Simple with Asp.Net Core MVC / TypeScript
sjh37/EntityFramework-Reverse-POCO-Code-First-Generator
EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully...
mganss/XmlSchemaClassGenerator
Generate C# classes from XML Schema files
dadhi/FastExpressionCompiler
Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative....
filiptrivan/spiderly
.NET (C#) boilerplate code generator that transforms an EF Core model into a fully customizable...