An open API service providing repository metadata for many open source software ecosystems.

Topic: "csharp-sourcegenerator"

riok/mapperly

A .NET source generator for generating object mappings. No runtime reflection.

Language: C# - Size: 5.27 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 3,392 - Forks: 174

martinothamar/Mediator

A high performance implementation of Mediator pattern in .NET using source generators.

Language: C# - Size: 1.26 MB - Last synced at: 18 days ago - Pushed at: 27 days ago - Stars: 2,692 - Forks: 110

amis92/csharp-source-generators

A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.

Size: 492 KB - Last synced at: 18 days ago - Pushed at: 4 months ago - Stars: 2,199 - Forks: 212

SteveDunn/Vogen

A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects

Language: C# - Size: 312 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 1,105 - Forks: 58

YairHalberstadt/stronginject

compile time dependency injection for .NET

Language: C# - Size: 1.35 MB - Last synced at: 20 days ago - Pushed at: almost 3 years ago - Stars: 855 - Forks: 24

domn1995/dunet

C# discriminated union source generator

Language: C# - Size: 496 KB - Last synced at: 24 days ago - Pushed at: 24 days ago - Stars: 703 - Forks: 23

sveinungf/spreadcheetah

SpreadCheetah is a high-performance .NET library for generating spreadsheet (Microsoft Excel XLSX) files.

Language: C# - Size: 1.93 MB - Last synced at: 27 days ago - Pushed at: 27 days ago - Stars: 521 - Forks: 26

devlooped/ThisAssembly

Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.

Language: C# - Size: 1.66 MB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 477 - Forks: 25

CollinAlpert/Lombok.NET

.NET adaptation for Java's Lombok using Source Generators.

Language: C# - Size: 283 KB - Last synced at: 5 days ago - Pushed at: 8 months ago - Stars: 331 - Forks: 16

cathei/LinqGen

Alloc-free and fast replacement for Linq, with code generation

Language: C# - Size: 2.2 MB - Last synced at: 13 days ago - Pushed at: 11 months ago - Stars: 310 - Forks: 12

JasonBock/Rocks

A mocking library based on the Compiler APIs (Roslyn + Mocks)

Language: C# - Size: 17.4 MB - Last synced at: 20 days ago - Pushed at: 20 days ago - Stars: 308 - Forks: 23

byme8/ZeroQL

C# GraphQL client with Linq-like syntax

Language: C# - Size: 966 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 301 - Forks: 17

devlooped/SmallSharp

Create, edit and run multiple C# top-level programs in the same project by just selecting the startup program from the start button.

Language: C# - Size: 6.73 MB - Last synced at: 15 days ago - Pushed at: 18 days ago - Stars: 298 - Forks: 13

christianhelle/refitter

A tool for generating Refit interfaces and contracts from OpenAPI specifications

Language: C# - Size: 3.96 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 291 - Forks: 54

kant2002/WinFormsComInterop

ComWrappers required to run NativeAOT and WinForms

Language: C# - Size: 761 KB - Last synced at: 14 days ago - Pushed at: 7 months ago - Stars: 269 - Forks: 36

Nyrest/FastGenericNew

The ultimate fast alternative to Activator.CreateInstance<T> / new T()

Language: C# - Size: 4.35 MB - Last synced at: 16 days ago - Pushed at: 3 months ago - Stars: 259 - Forks: 10

Tyrrrz/MiniRazor 📦

Portable Razor compiler & code generator

Language: C# - Size: 164 KB - Last synced at: 25 days ago - Pushed at: almost 2 years ago - Stars: 229 - Forks: 24

EngRajabi/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.

Language: C# - Size: 431 KB - Last synced at: 16 days ago - Pushed at: 2 months ago - Stars: 189 - Forks: 17

davidwengier/SourceGeneratorTemplate

A basic template for writing a C# source generator

Language: C# - Size: 21.5 KB - Last synced at: 7 days ago - Pushed at: about 3 years ago - Stars: 188 - Forks: 29

nenoNaninu/TypedSignalR.Client

C# Source Generator to Create Strongly Typed SignalR Clients.

Language: C# - Size: 2.43 MB - Last synced at: 16 days ago - Pushed at: about 1 month ago - Stars: 181 - Forks: 9

Cat-Lips/GodotSharp.SourceGenerators

C# source generators for the Godot Game Engine

Language: C# - Size: 427 KB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 173 - Forks: 17

diegofrata/Generator.Equals

A source code generator for automatically implementing IEquatable<T> using only attributes.

Language: C# - Size: 254 KB - Last synced at: 21 days ago - Pushed at: 7 months ago - Stars: 153 - Forks: 19

canton7/PropertyChanged.SourceGenerator

Powerful INotifyPropertyChanged / INotifyPropertyChanging Source Generator, which generates INPC boilerplate for you as part of your build. Supports features such as automatic and manual dependencies between properties, notifications when specific properties change, and more.

Language: C# - Size: 504 KB - Last synced at: 22 days ago - Pushed at: 5 months ago - Stars: 150 - Forks: 17

trampster/JsonSrcGen

Json library that uses .NET 5 Source Generators

Language: C# - Size: 709 KB - Last synced at: 17 days ago - Pushed at: almost 4 years ago - Stars: 149 - Forks: 4

davidwengier/SourceGeneratorPlayground

The C# Source Generator Playground

Language: C# - Size: 39.3 MB - Last synced at: about 2 months ago - Pushed at: almost 4 years ago - Stars: 146 - Forks: 17

ufcpp/StringLiteralGenerator

C# Source Generator for UTF-8 binary literal

Language: C# - Size: 59.6 KB - Last synced at: about 2 months ago - Pushed at: 9 months ago - Stars: 141 - Forks: 3

devlooped/avatar 📦

A modern compile-time generated interception/proxy library

Language: C# - Size: 1.32 MB - Last synced at: about 2 months ago - Pushed at: about 2 years ago - Stars: 139 - Forks: 10

ImmediatePlatform/Immediate.Handlers

Source Generated implementation of the Mediator pattern

Language: C# - Size: 360 KB - Last synced at: 23 days ago - Pushed at: about 1 month ago - Stars: 134 - Forks: 4

HavenDV/DependencyPropertyGenerator

Dependency property, routed event and weak event source generator for WPF/UWP/WinUI/Uno/Avalonia/MAUI platforms.

Language: C# - Size: 1.13 MB - Last synced at: 6 days ago - Pushed at: 13 days ago - Stars: 133 - Forks: 9

31/GodotOnReady

A C# Source Generator that adds convenient onready-like features to your C# scripts in Godot Mono (3.x) without any reflection.

Language: C# - Size: 166 KB - Last synced at: 2 months ago - Pushed at: about 2 years ago - Stars: 123 - Forks: 13

dasMulli/data-builder-generator

Code generator to easily create data builder patterns for your model classes

Language: C# - Size: 45.9 KB - Last synced at: 4 days ago - Pushed at: 9 months ago - Stars: 117 - Forks: 13

chaowlert/PrimaryConstructor

Generate primary constructor from readonly fields

Language: C# - Size: 37.1 KB - Last synced at: 6 days ago - Pushed at: over 1 year ago - Stars: 107 - Forks: 12

GobieGenerator/Gobie

Simple C# source generation based on custom templates

Language: C# - Size: 1.37 MB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 103 - Forks: 5

MoienTajik/GraphQL.Tools

GraphQL.Tools is a GraphQL to C# compiler (code-generator) which turns your GraphQL schema into a set of C# classes, interfaces, and enums.

Language: C# - Size: 141 KB - Last synced at: 12 days ago - Pushed at: over 3 years ago - Stars: 98 - Forks: 12

distantcam/AutoCtor

A Roslyn source generator for creating constructors.

Language: C# - Size: 803 KB - Last synced at: 4 days ago - Pushed at: 5 days ago - Stars: 93 - Forks: 5

ignatandrei/RSCG_Examples

Roslyn Source Code Generators with Examples

Language: HTML - Size: 1.08 GB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 83 - Forks: 5

mostmand/Cloneable

Auto generate Clone method using C# Source Generator

Language: C# - Size: 53.7 KB - Last synced at: about 2 months ago - Pushed at: about 2 years ago - Stars: 83 - Forks: 11

hermanussen/JsonByExampleGenerator

Generate classes based on example json files in your project. Uses a C# 9 source generator.

Language: C# - Size: 666 KB - Last synced at: about 2 months ago - Pushed at: over 2 years ago - Stars: 80 - Forks: 9

beakona/AutoInterface

C# interface-to-member source generator

Language: C# - Size: 253 KB - Last synced at: about 2 months ago - Pushed at: 9 months ago - Stars: 79 - Forks: 10

giladfrid009/SimpleSIMD

Easy to use SIMD accelerated Array and Span methods

Language: C# - Size: 295 KB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 79 - Forks: 3

RudolfKurkaMs/StructPacker

Low-level, lightweight and performance-focused serializer for C# struct types that uses Source Generators technology.

Language: C# - Size: 2 MB - Last synced at: 10 days ago - Pushed at: almost 3 years ago - Stars: 78 - Forks: 7

codecentric/net_automatic_interface

.Net Source Generator for Automatic Interfaces

Language: C# - Size: 301 KB - Last synced at: 19 days ago - Pushed at: about 1 month ago - Stars: 72 - Forks: 16

mknejp/dotvariant

A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)

Language: C# - Size: 589 KB - Last synced at: about 2 months ago - Pushed at: 9 months ago - Stars: 71 - Forks: 3

pCYSl5EDgo/EmbeddingResourceCSharp

Embed resource files more C# programmer friendly!

Language: C# - Size: 89.8 KB - Last synced at: about 2 months ago - Pushed at: about 1 year ago - Stars: 71 - Forks: 1

jitbit/MapDataReader

Super fast mapping DataReader to strongly typed object, Using AOT source generator.

Language: C# - Size: 101 KB - Last synced at: 7 days ago - Pushed at: about 1 year ago - Stars: 70 - Forks: 12

TheArchitectDev/Architect.DomainModeling

A complete Domain-Driven Design (DDD) toolset for implementing domain models, including base types and source generators.

Language: C# - Size: 210 KB - Last synced at: about 2 months ago - Pushed at: 5 months ago - Stars: 68 - Forks: 5

kant2002/SqlMarshal

Generates data access using stored procedures

Language: C# - Size: 261 KB - Last synced at: 14 days ago - Pushed at: 5 months ago - Stars: 62 - Forks: 5

sang-hyeon/Plastic

This project provides encapsulation of things like Domain, Application Rules, Business Rules or Business Logic in Application.

Language: C# - Size: 544 KB - Last synced at: 6 minutes ago - Pushed at: 11 months ago - Stars: 61 - Forks: 5

VocaDB/ResXFileCodeGenerator 📦

VocaDb.ResXFileCodeGenerator is a C# source generator to generate strongly-typed resource classes for looking up localized strings.

Language: C# - Size: 185 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 58 - Forks: 12

fiseni/SmartAnnotations

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

Language: C# - Size: 396 KB - Last synced at: 2 days ago - Pushed at: about 4 years ago - Stars: 58 - Forks: 6

k94ll13nn3/AutoConstructor

C# source generator that generates a constructor from readonly fields/properties in a class or struct

Language: C# - Size: 516 KB - Last synced at: 7 days ago - Pushed at: 8 days ago - Stars: 56 - Forks: 4

ZingBallyhoo/StackXML

Stack based zero-allocation XML serializer and deserializer powered by C# 9 source generators

Language: C# - Size: 152 KB - Last synced at: 28 days ago - Pushed at: 28 days ago - Stars: 55 - Forks: 8

hanachiru/RapidEnum

Enum utility with SourceGenerator for C#/.NET

Language: C# - Size: 494 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 54 - Forks: 2

martinothamar/WrapperValueObject

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

Language: C# - Size: 51.8 KB - Last synced at: 20 days ago - Pushed at: over 2 years ago - Stars: 53 - Forks: 3

DevTeam/Immutype

Immutability is easy!

Language: C# - Size: 139 KB - Last synced at: 13 days ago - Pushed at: 17 days ago - Stars: 50 - Forks: 3

YairHalberstadt/SpanLinq

Linq for Span<T> using SourceGenerators

Language: C# - Size: 110 KB - Last synced at: 9 months ago - Pushed at: about 4 years ago - Stars: 48 - Forks: 1

x2bool/mockup

Zero-reflection, compile-time mocking library based on C# source generators

Language: C# - Size: 66.4 KB - Last synced at: 11 days ago - Pushed at: 9 months ago - Stars: 47 - Forks: 1

Jalalx/HttpClientCodeGenerator

HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.

Language: C# - Size: 96.7 KB - Last synced at: about 2 months ago - Pushed at: 7 months ago - Stars: 46 - Forks: 2

koenbeuk/ScenarioTests

ScenarioTests are a different way of writing tests with XUnit. The goal is to be able to write tests like you would write notebooks. ScenarioTests are great for documentation and integration/e2e tests.

Language: C# - Size: 416 KB - Last synced at: 23 days ago - Pushed at: over 2 years ago - Stars: 46 - Forks: 3

DouglasDwyer/Imp.NET

Imp.NET is a fast, high-level, object-oriented C# networking library that supports the invocation of remote methods through proxy interface objects.

Language: C# - Size: 6.45 MB - Last synced at: 15 days ago - Pushed at: over 3 years ago - Stars: 44 - Forks: 1

MelGrubb/BuilderGenerator

A source-generator-based implementation of the Builder pattern

Language: C# - Size: 817 KB - Last synced at: 14 days ago - Pushed at: 3 months ago - Stars: 42 - Forks: 9

Ceiridge/BetterEnums

Actual C# Enums with values and better performance as a source generator

Language: C# - Size: 25.4 KB - Last synced at: 25 days ago - Pushed at: about 1 year ago - Stars: 42 - Forks: 2

RyotaMurohoshi/ValueObjectGenerator

ValueObjectGenerator is Generator for ValueObjects.

Language: C# - Size: 13.7 KB - Last synced at: about 2 months ago - Pushed at: over 4 years ago - Stars: 41 - Forks: 1

IGood/boilerplatezero

boilerplatezero is a collection of C# source generators

Language: C# - Size: 129 KB - Last synced at: 22 days ago - Pushed at: over 1 year ago - Stars: 39 - Forks: 4

Elskom/GitBuildInfo.SourceGenerator

Source Generator for dumping the git branch information, commit hash, and if the working tree is dirty or clean on projects that install this and applies them as an assembly level attribute.

Language: C# - Size: 116 KB - Last synced at: about 1 month ago - Pushed at: about 3 years ago - Stars: 39 - Forks: 1

onsatoci/InterfaceGenerator

A simple source generator that creates interfaces by implementations.

Language: C# - Size: 58.6 KB - Last synced at: 27 days ago - Pushed at: about 1 year ago - Stars: 38 - Forks: 15

Burgyn/MMLib.MediatR.Generators

Language: C# - Size: 188 KB - Last synced at: 9 days ago - Pushed at: about 2 years ago - Stars: 37 - Forks: 4

devlooped/StructId

Automatic implemention of stronly typed IDs via record structs with compile-time feature auto-detection

Language: C# - Size: 284 KB - Last synced at: 4 days ago - Pushed at: 5 days ago - Stars: 36 - Forks: 0

ycanardeau/ResXGenerator

ResXGenerator is a C# source generator to generate strongly-typed resource classes for looking up localized strings.

Language: C# - Size: 220 KB - Last synced at: 23 days ago - Pushed at: about 1 year ago - Stars: 36 - Forks: 5

nemesissoft/Nemesis.TextParsers

Parse any type from string in efficient way

Language: C# - Size: 1.86 MB - Last synced at: 13 days ago - Pushed at: 15 days ago - Stars: 35 - Forks: 4

AvaloniaUtils/ShowMeTheXaml.Avalonia

A Avalonia control making it easy to show the corresponding XAML for custom styles and controls

Language: C# - Size: 189 KB - Last synced at: 19 days ago - Pushed at: about 1 year ago - Stars: 35 - Forks: 2

cezarypiatek/GRPC-Mock-Server

Super fast, platform independent, standalone component for mocking GRPC services using WireMock.NET stubbing engine

Language: C# - Size: 93.8 KB - Last synced at: about 2 months ago - Pushed at: 6 months ago - Stars: 33 - Forks: 1

daviddotcs/safe-routing

A C# source generator for ASP.NET Core razor pages and MVC controllers which produces strongly-typed identifiers for routes.

Language: C# - Size: 378 KB - Last synced at: 27 days ago - Pushed at: 9 months ago - Stars: 33 - Forks: 2

lsoft/DpdtInject

Highly efficient compile-time general purpose DI container based on C# source generators.

Language: C# - Size: 4.12 MB - Last synced at: 7 months ago - Pushed at: almost 3 years ago - Stars: 32 - Forks: 3

jasonswearingen/NotNot.AppSettings 📦

Automatically create strongly typed C# settings objects from AppSettings.json. Uses Source Generators. Includes a simple deserialization helper for when you are using Dependency Injection, or not.

Language: C# - Size: 579 KB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 31 - Forks: 0

krasin-ga/matryoshki

High-performance zero-reflection approach to C# metaprogramming

Language: C# - Size: 199 KB - Last synced at: 26 days ago - Pushed at: 8 months ago - Stars: 31 - Forks: 0

Spinnernicholas/EnumFastToStringDotNet

This is a Visual Studio C# source generator for automatically generating enum extension methods that implement a switch expression based ToString method. Why? The default enum ToString method implements a binary search which is great for large lists but becomes time and memory inefficient for a just a few items when compared to a switch expression.

Language: C# - Size: 28.3 KB - Last synced at: about 2 months ago - Pushed at: about 3 years ago - Stars: 31 - Forks: 2

Kros-sk/Kros.Generators.Flattening

Language: C# - Size: 53.7 KB - Last synced at: 26 days ago - Pushed at: almost 4 years ago - Stars: 30 - Forks: 3

ImmediatePlatform/Immediate.Apis

Source Generated registrations connecting Immediate.Handlers and minimal APIs

Language: C# - Size: 222 KB - Last synced at: 25 days ago - Pushed at: about 2 months ago - Stars: 29 - Forks: 1

berhir/SignalR.Modules

Modular SignalR with a shared connection using a C# Source Generator

Language: C# - Size: 384 KB - Last synced at: almost 2 years ago - Pushed at: over 3 years ago - Stars: 29 - Forks: 5

Ludovicdln/Breezy

Micro ORM with source generator

Language: C# - Size: 57.6 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 27 - Forks: 1

Ohorodnikov/AutoDto

Auto copy properties from bl model to dto

Language: C# - Size: 7.01 MB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 26 - Forks: 0

thenameless314159/SourceGeneratorUtils

.NET standard 2.0 utils and helpers to write source files (for source generators and general purpose)

Language: C# - Size: 168 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 26 - Forks: 1

BlazorOcticons/BlazorOcticons

BlazorOcticons is an easy-to-use GitHub Octicons built as customizable .razor components

Language: HTML - Size: 1.15 MB - Last synced at: 15 days ago - Pushed at: about 1 year ago - Stars: 25 - Forks: 4

roeibajayo/SourceGeneratorQuery

C# SourceGenerator helper which helps you query your files, and adds LINQ support

Language: C# - Size: 23.4 KB - Last synced at: about 2 months ago - Pushed at: over 2 years ago - Stars: 25 - Forks: 2

beardgame/fluentsourcegen

Allows using C# source generators using a fluent, type safe interface rather than string templating.

Language: C# - Size: 145 KB - Last synced at: 26 days ago - Pushed at: 26 days ago - Stars: 24 - Forks: 0

leoformaggi/enum-utilities-generator

A source generator to generate compile-time mapping of enums and description attributes

Language: C# - Size: 41 KB - Last synced at: about 2 months ago - Pushed at: almost 3 years ago - Stars: 23 - Forks: 4

archi-Doc/Tinyhand

Tiny and simple data format/serializer.

Language: C# - Size: 2.41 MB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 22 - Forks: 3

jeppevammenkristensen/auto-spectre

Source generator project to generate classes that can be used in a console to prompt for values using Spectre.Console

Language: C# - Size: 363 KB - Last synced at: 17 days ago - Pushed at: 17 days ago - Stars: 22 - Forks: 0

credfeto/credfeto-enum-source-generation

C# source generator for producing faster enum lookups

Language: C# - Size: 3.19 MB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 20 - Forks: 1

hermanussen/CompileTimeMethodExecutionGenerator

A .NET 5 source generator proof of concept that allows executing a method during compilation, so that it can be really fast during runtime.

Language: C# - Size: 16.6 KB - Last synced at: 7 months ago - Pushed at: over 4 years ago - Stars: 20 - Forks: 3

filiptrivan/spiderly

.NET (C#) code generator that transforms an EF Core model into a fully customizable .NET (C#) + Angular web app

Language: C# - Size: 25.5 MB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 18 - Forks: 2

coplt/Coplt.Union

Tagged union for c#

Language: C# - Size: 167 KB - Last synced at: 2 days ago - Pushed at: about 2 months ago - Stars: 17 - Forks: 0

binwan-dev/Kadder

C# 高扩展、简单易用的Grpc解决方案

Language: C# - Size: 4.95 MB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 17 - Forks: 5

Andreas-Dorfer/base-types

Fight primitive obsession and create expressive domain models with source generators.

Language: C# - Size: 455 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 17 - Forks: 2

HamedFathi/EnumerationClassGenerator

A C# source generator to create an enumeration class from an enum type.

Language: C# - Size: 24.4 KB - Last synced at: about 2 months ago - Pushed at: almost 3 years ago - Stars: 17 - Forks: 3

cythral/lambdajection

Framework for building AWS Lambdas using dependency injection and aspect-oriented programming.

Language: C# - Size: 1.95 MB - Last synced at: 6 days ago - Pushed at: about 1 year ago - Stars: 16 - Forks: 1

podimo/Podimo.ConstEmbed

Compile-time file embedding as string constants.

Language: C# - Size: 33.2 KB - Last synced at: 7 months ago - Pushed at: 8 months ago - Stars: 14 - Forks: 0

CodingFlow/decorator-generator

Source generator for decorator pattern boilerplate code in C#.

Language: C# - Size: 1.58 MB - Last synced at: about 2 months ago - Pushed at: 9 months ago - Stars: 14 - Forks: 5

xb-bx/CommandLineArgsGenerator

Source generator to generate command line args parser

Language: C# - Size: 111 KB - Last synced at: 24 days ago - Pushed at: over 2 years ago - Stars: 14 - Forks: 1