csharp-source-generators
github.com/amis92/csharp-source-generators ↗A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
Use this list with your AI agent
Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:
"Show me patterns resources from csharp-source-generators"
Installation instructions →What's inside
Articles
- 4 ways to generate code in C# — Including Source Generators in .NET 5
- How to Debug C# 9 Source Code Generators
- How to generate code using Roslyn source generators in real world scenarios
- How to profile C# 9.0 Source Generators
- Mastering at Source Generators
- .NET 5 Source Generators - MediatR - CQRS - OMG!
MediatR - CQRS - OMG!
Source Generators
- ActorSrcGenPatterns
- AdaskoTheBeAsT.Identity.DapperDatabase / ORM
Custom Dapper implementation for Microsoft.Extensions.Identity.Stores (part of ASP.NET Core Identity)
- AjaxService.GenWebprogramming
Automatically Generate typescript Ajax calls based on your C# Api endpoints.
- AltaSoft.DomainPrimitivesDomain Driven Design (DDD)
A C# toolkit purposefully designed to accelerate the development of domain-specific primitives within your applications. This streamlined solution empowers developers to efficiently encapsulate fundamental domain logic. Through this toolkit, you'll significantly reduce code complexity while improving the maintainability of your project.
- AnyOfFunctional Programming
- ApiClientGeneratorWebprogramming
Meta - libs and generators for other generators
- AttributeFactoryGenerator
Generate factories to easily parse actual attribute instances from symbol data.
- AttributesSourceGeneratorHelper
- CommonSourceGeneratorsHelpers
- HotReload
A simple hack to enable hot reload in Visual Studio Intellisense when developing a source generator project together with an example dependent client project inside a single solution.
Videos
- Channel 9 'Source Generators in C#'
- C# Source Generators - Write code that writes code - David Wengier
Write code that writes code - David Wengier
- .NET Languages and Runtime Community Standup - Source Generators
Source Generators
Demo, PoC and excercise projects
Documentation and samples
Projects using custom Source Generators "internally"
Showing a sample of 263 resources. View the full list on GitHub →