Prague.Attributes 0.6.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Prague.Attributes --version 0.6.0
                    
NuGet\Install-Package Prague.Attributes -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.Attributes" Version="0.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Prague.Attributes" Version="0.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Prague.Attributes" />
                    
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.Attributes --version 0.6.0
                    
#r "nuget: Prague.Attributes, 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.Attributes@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.Attributes&version=0.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Prague.Attributes&version=0.6.0
                    
Install as a Cake Tool

Prague.Attributes

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

The public attribute surface that drives code generation: [DataCache], [DataCacheKey], [DataCacheIndex], [DataCacheForeignKey], and friends. Annotate a partial POCO and the Prague source generator emits its strongly-typed cache, index storage, and fluent Query() API.

[DataCache]
public partial class Order {
  [DataCacheKey] public long Id { get; init; }
  [DataCacheIndex] public string CustomerId { get; init; }
}

Install

dotnet add package Prague.Attributes

See the project README for the full guide.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Prague.Attributes:

Package Downloads
Prague.Core

Package Description

Prague.Kafka

Package Description

Prague

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0-pre.2 392 9/21/2026
0.7.0-pre.1 460 9/9/2026
0.6.0 1,514 9/24/2026
0.6.0-pre.5 2,801 8/15/2026
0.6.0-pre.4 107 8/15/2026
0.6.0-pre.3 112 8/15/2026
0.6.0-pre.2 1,463 7/22/2026
0.6.0-pre.1 188 7/20/2026
0.5.0-pre.13 105 7/20/2026
0.5.0-pre.12 286 7/10/2026
0.5.0-pre.11 112 7/10/2026
0.5.0-pre.10 124 6/21/2026
0.5.0-pre.9 122 6/18/2026
0.5.0-pre.8 127 6/16/2026
0.5.0-pre.7 173 6/1/2026
0.5.0-pre.6 105 5/30/2026
0.5.0-pre.5 104 5/30/2026
0.5.0-pre.4 119 5/30/2026
0.5.0-pre.3 120 5/30/2026
0.5.0-pre.1 185 5/30/2026