Skip to content
Merged

first #527

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 28 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# RSCG - 277 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
# RSCG - 278 Examples of Roslyn Source Code Generators / 16 created by Microsoft /

The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 277 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 278 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.

This system serves as both a learning resource for .NET developers interested in source generators and an automated pipeline for maintaining up-to-date documentation about the RSCG ecosystem

## Latest Update : 2026-07-04 => 04 July 2026
## Latest Update : 2026-08-18 => 18 August 2026

If you want to see examples with code, please click ***[List V2](https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG)***

If you want just those from Microsoft, please click ***[Microsoft](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Authors/Microsoft)***

If you want to see by category, please click ***[category](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples)***
or click any category below
[actor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#actor) -[ai](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#ai) -[aop](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#aop) -[api](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#api) -[async](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#async) -[audit](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#audit) -[bitwise](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#bitwise) -[blazor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#blazor) -[bool](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#bool) -[builder](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#builder) -[clone](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#clone) -[codetostring](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#codetostring) -[commandline](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#commandline) -[console](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#console) -[constructor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#constructor) -[database](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#database) -[decorator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#decorator) -[dependencyinjection](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#dependencyinjection) -[disposer](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#disposer) -[documentation](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#documentation) -[enhancementclass](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementclass) -[enhancementproject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) -[enum](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enum) -[equals](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#equals) -[filestocode](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#filestocode) -[functionalprogramming](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#functionalprogramming) -[hangfire](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#hangfire) -[idempotency](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#idempotency) -[interface](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#interface) -[linq](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#linq) -[mapper](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mapper) -[mcp](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mcp) -[mediator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mediator) -[mixin](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mixin) -[mvc](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mvc) -[mvvm](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mvvm) -[optimizer](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#optimizer) -[primitiveobsession](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#primitiveobsession) -[profiler](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#profiler) -[rx](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#rx) -[serializer](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#serializer) -[signalr](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#signalr) -[statemachine](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#statemachine) -[templating](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#templating) -[tests](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#tests) -[validator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#validator) -[winapi](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#winapi) -
[actor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#actor) -[ai](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#ai) -[aop](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#aop) -[api](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#api) -[async](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#async) -[audit](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#audit) -[bitwise](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#bitwise) -[blazor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#blazor) -[bool](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#bool) -[builder](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#builder) -[clone](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#clone) -[codetostring](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#codetostring) -[commandline](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#commandline) -[console](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#console) -[constructor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#constructor) -[database](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#database) -[decorator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#decorator) -[dependencyinjection](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#dependencyinjection) -[disposer](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#disposer) -[documentation](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#documentation) -[enhancementclass](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementclass) -[enhancementproject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) -[entityframework](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#entityframework) -[enum](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enum) -[equals](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#equals) -[filestocode](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#filestocode) -[functionalprogramming](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#functionalprogramming) -[hangfire](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#hangfire) -[idempotency](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#idempotency) -[interface](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#interface) -[linq](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#linq) -[mapper](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mapper) -[mcp](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mcp) -[mediator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mediator) -[mixin](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mixin) -[mvc](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mvc) -[mvvm](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mvvm) -[optimizer](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#optimizer) -[primitiveobsession](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#primitiveobsession) -[profiler](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#profiler) -[rx](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#rx) -[serializer](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#serializer) -[signalr](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#signalr) -[statemachine](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#statemachine) -[templating](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#templating) -[tests](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#tests) -[validator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#validator) -[winapi](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#winapi) -


## If you have a Roslyn Source Code Generator, please create an issue.
Expand All @@ -24,8 +24,30 @@ If you want to be notified each time I add a new RSCG example , please click htt

## Content

Those are the 277 Roslyn Source Code Generators that I have tested you can see and download source code example.
Those are the 278 Roslyn Source Code Generators that I have tested you can see and download source code example.
( including 16 from Microsoft )
### 278. [Atulin.AutoDbSet](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Atulin.AutoDbSet) , in the [EntityFramework](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#entityframework) category

Generated on : 2026-08-18 => 18 August 2026

<details>
<summary>Expand</summary>



Author: Angius Atulin

Package Description

Nuget: [https://www.nuget.org/packages/Atulin.AutoDbSet/](https://www.nuget.org/packages/Atulin.AutoDbSet/)


Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/Atulin.AutoDbSet](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Atulin.AutoDbSet)

Source: [https://github.com/Atulin/AutoDbSet](https://github.com/Atulin/AutoDbSet)

</details>

### 277. [Bennewitz.Ninja.AutoVersioning](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Bennewitz.Ninja.AutoVersioning) , in the [EnhancementProject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) category

Generated on : 2026-07-04 => 04 July 2026
Expand Down Expand Up @@ -2023,7 +2045,7 @@ Source: [https://github.com/Georgiy-Petrov/StepwiseBuilderGenerator](https://git

</details>

### 187. [EntityLengths.Generator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/EntityLengths.Generator) , in the [Database](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#database) category
### 187. [EntityLengths.Generator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/EntityLengths.Generator) , in the [EntityFramework](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#entityframework) category

Generated on : 2025-02-19 => 19 February 2025

Expand Down
2 changes: 1 addition & 1 deletion later.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Just later

## Latest Update : 2026-07-04 => 04 July 2026
## Latest Update : 2026-08-18 => 18 August 2026



Expand Down
3 changes: 2 additions & 1 deletion v2/Generator/all.csv
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Nr,Key,Source,Category
184,MockMe, https://github.com/connorivy/MockMe/,Tests
185,DependencyModules.SourceGenerator, https://github.com/ipjohnson/DependencyModules,DependencyInjection
186,RSCG_CompositeProvider, https://github.com/ignatandrei/RSCG_CompositeProvider,Interface
187,EntityLengths.Generator, https://github.com/TarasKovalenko/EntityLengths.Generator/,Database
187,EntityLengths.Generator, https://github.com/TarasKovalenko/EntityLengths.Generator/,EntityFramework
188,StepwiseBuilderGenerator, https://github.com/Georgiy-Petrov/StepwiseBuilderGenerator,Builder
189,MemberAccessor, https://github.com/usausa/member-accessor-generator,EnhancementClass
190,PMart.Enumeration, https://github.com/p-martinho/Enumeration,Enum
Expand Down Expand Up @@ -276,3 +276,4 @@ Nr,Key,Source,Category
275,Porticle.Enumly, https://github.com/Machibuse/Porticle.Enumly,Enum
276,TinyBDD.MSTest, https://github.com/JerrettDavis/TinyBDD,Tests
277,Bennewitz.Ninja.AutoVersioning, https://github.com/JanusMael/Bennewitz.Ninja.AutoVersioning,EnhancementProject
278,Atulin.AutoDbSet, https://github.com/Atulin/AutoDbSet,EntityFramework
1 change: 1 addition & 0 deletions v2/GeneratorData/Category.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ public enum Category
Idempotency=45,
Documentation=46,
Audit = 47,
EntityFramework = 48,
}

8 changes: 7 additions & 1 deletion v2/RSCGExamplesData/GeneratorDataRec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@
},
{
"ID":"EntityLengths.Generator",
"Category": 14,
"Category": 48,
"dtStart": "2025-02-19T00:00:00",
"show": true
},
Expand Down Expand Up @@ -1678,5 +1678,11 @@
"Category": 1,
"dtStart": "2026-07-04T00:00:00",
"show": true
},
{
"ID":"Atulin.AutoDbSet",
"Category": 48,
"dtStart": "2026-08-18T00:00:00",
"show": true
}
]
75 changes: 75 additions & 0 deletions v2/book/examples/Atulin.AutoDbSet.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@

<h1>RSCG nr 278 : Atulin.AutoDbSet</h1>

<h2>Info</h2>
Nuget : <a href="https://www.nuget.org/packages/Atulin.AutoDbSet/" target="_blank">https://www.nuget.org/packages/Atulin.AutoDbSet/</a>

<p>You can find more details at : <a href="https://github.com/Atulin/AutoDbSet" target="_blank"> https://github.com/Atulin/AutoDbSet</a></p>

<p>Author :Angius Atulin</p>

<p>Source: <a href="https://github.com/Atulin/AutoDbSet" target="_blank">https://github.com/Atulin/AutoDbSet</a> </p>

<h2>About</h2>

Generating DbSet properties for Entity Framework Core DbContext classes

<h2>
How to use
</h2>
<h3>
Add reference to the <a href="https://www.nuget.org/packages/Atulin.AutoDbSet/" target="_blank">Atulin.AutoDbSet</a> in the csproj
</h3>
<img src="images/Atulin.AutoDbSet/EntityDemo.csproj.png" width="580" height="580" />

<h3>This was for me the <b>starting</b> code</h3>

<br />
I have <b>coded</b> the file Program.cs
<br />
<img src="images/Atulin.AutoDbSet/csFiles/Program.cs.png" width="580" height="580" />
<hr />

<br />
I have <b>coded</b> the file Project.cs
<br />
<img src="images/Atulin.AutoDbSet/csFiles/Project.cs.png" width="580" height="580" />
<hr />

<br />
I have <b>coded</b> the file DotNetStatsContext.cs
<br />
<img src="images/Atulin.AutoDbSet/csFiles/DotNetStatsContext.cs.png" width="580" height="580" />
<hr />
<h3>And here are the <i>generated</i> files</h3>

<br />
The file <i>generated</i> is AutoDbSetAttribute.g.cs
<br />
<img src="images/Atulin.AutoDbSet/generated/AutoDbSetAttribute.g.cs.png" width="580" height="580" />

<br />
The file <i>generated</i> is DbContextAttribute.g.cs
<br />
<img src="images/Atulin.AutoDbSet/generated/DbContextAttribute.g.cs.png" width="580" height="580" />

<br />
The file <i>generated</i> is DotNetStatsContext.g.cs
<br />
<img src="images/Atulin.AutoDbSet/generated/DotNetStatsContext.g.cs.png" width="580" height="580" />

<p>
You can download the code and this page as pdf from
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Atulin.AutoDbSet'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/Atulin.AutoDbSet
</a>
</p>


<p>
You can see the whole list at
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
</a>
</p>

58 changes: 58 additions & 0 deletions v2/book/examples/Bennewitz.Ninja.AutoVersioning.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

<h1>RSCG nr 277 : Bennewitz.Ninja.AutoVersioning</h1>

<h2>Info</h2>
Nuget : <a href="https://www.nuget.org/packages/Bennewitz.Ninja.AutoVersioning/" target="_blank">https://www.nuget.org/packages/Bennewitz.Ninja.AutoVersioning/</a>

<p>You can find more details at : <a href="https://github.com/JanusMael/Bennewitz.Ninja.AutoVersioning" target="_blank"> https://github.com/JanusMael/Bennewitz.Ninja.AutoVersioning</a></p>

<p>Author :Brian Bennewitz</p>

<p>Source: <a href="https://github.com/JanusMael/Bennewitz.Ninja.AutoVersioning" target="_blank">https://github.com/JanusMael/Bennewitz.Ninja.AutoVersioning</a> </p>

<h2>About</h2>

Generating build version numbers for .NET projects

<h2>
How to use
</h2>
<h3>
Add reference to the <a href="https://www.nuget.org/packages/Bennewitz.Ninja.AutoVersioning/" target="_blank">Bennewitz.Ninja.AutoVersioning</a> in the csproj
</h3>
<img src="images/Bennewitz.Ninja.AutoVersioning/InfoPrj.csproj.png" width="580" height="580" />

<h3>This was for me the <b>starting</b> code</h3>

<br />
I have <b>coded</b> the file Program.cs
<br />
<img src="images/Bennewitz.Ninja.AutoVersioning/csFiles/Program.cs.png" width="580" height="580" />
<hr />
<h3>And here are the <i>generated</i> files</h3>

<br />
The file <i>generated</i> is AutoVersionedAssemblyInfo.g.cs
<br />
<img src="images/Bennewitz.Ninja.AutoVersioning/generated/AutoVersionedAssemblyInfo.g.cs.png" width="580" height="580" />

<br />
The file <i>generated</i> is DirectoryBuildInfo.g.cs
<br />
<img src="images/Bennewitz.Ninja.AutoVersioning/generated/DirectoryBuildInfo.g.cs.png" width="580" height="580" />

<p>
You can download the code and this page as pdf from
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Bennewitz.Ninja.AutoVersioning'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/Bennewitz.Ninja.AutoVersioning
</a>
</p>


<p>
You can see the whole list at
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
</a>
</p>

10 changes: 9 additions & 1 deletion v2/book/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</head>
<body>
<h1>
This is the list of 276 RSCG with examples =>
This is the list of 278 RSCG with examples =>
</h1>

<table >
Expand Down Expand Up @@ -1130,6 +1130,14 @@ <h1>
<td>276</td>
<td><a href="examples/TinyBDD.MSTest.html">TinyBDD.MSTest</a></td>
</tr>
<tr>
<td>277</td>
<td><a href="examples/Bennewitz.Ninja.AutoVersioning.html">Bennewitz.Ninja.AutoVersioning</a></td>
</tr>
<tr>
<td>278</td>
<td><a href="examples/Atulin.AutoDbSet.html">Atulin.AutoDbSet</a></td>
</tr>
</table>


Expand Down
2 changes: 2 additions & 0 deletions v2/book/pandocHTML.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ input-files:
- examples/Dirge.html
- examples/Porticle.Enumly.html
- examples/TinyBDD.MSTest.html
- examples/Bennewitz.Ninja.AutoVersioning.html
- examples/Atulin.AutoDbSet.html

# or you may use input-file: with a single value
# defaults:
Expand Down
Loading
Loading