Prague.Codegen 0.6.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Prague.Codegen --version 0.6.0
                    
NuGet\Install-Package Prague.Codegen -Version 0.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Prague.Codegen" Version="0.6.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Prague.Codegen" Version="0.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Prague.Codegen">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Prague.Codegen --version 0.6.0
                    
#r "nuget: Prague.Codegen, 0.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Prague.Codegen@0.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Prague.Codegen&version=0.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Prague.Codegen&version=0.6.0
                    
Install as a Cake Tool

Prague.Codegen

Part of Prague — a high-performance, compile-time-safe in-memory event cache for .NET, fed by event-sourced Kafka streams.

The Roslyn source generator. It reads [DataCache]-annotated partial types (see Prague.Attributes) and emits the per-type cache partial, index storage, fluent query builders, and FK-driven JoinWith{T} convenience methods — zero reflection, all resolved at compile time.

Ships as an analyzer (no runtime assembly, no dependencies). Reference it as a development dependency; it produces no lib/ output of its own.

Install

dotnet add package Prague.Codegen

See the project README for the full guide.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Prague.Codegen:

Package Downloads
Prague

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0-pre.2 370 9/21/2026
0.7.0-pre.1 438 9/9/2026
0.6.0 1,475 9/24/2026
0.6.0-pre.5 2,783 8/15/2026
0.6.0-pre.4 90 8/15/2026
0.6.0-pre.3 92 8/15/2026
0.6.0-pre.2 1,437 7/22/2026
0.6.0-pre.1 173 7/20/2026
0.5.0-pre.13 95 7/20/2026
0.5.0-pre.12 266 7/10/2026
0.5.0-pre.11 95 7/10/2026
0.5.0-pre.10 92 6/21/2026
0.5.0-pre.9 107 6/18/2026
0.5.0-pre.8 123 6/16/2026
0.5.0-pre.7 162 6/1/2026
0.5.0-pre.6 94 5/30/2026
0.5.0-pre.5 101 5/30/2026
0.5.0-pre.4 101 5/30/2026
0.5.0-pre.3 100 5/30/2026
0.5.0-pre.1 85 5/30/2026