Dabbler.Reports.Core 2.0.2

Prefix Reserved
dotnet add package Dabbler.Reports.Core --version 2.0.2
                    
NuGet\Install-Package Dabbler.Reports.Core -Version 2.0.2
                    
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="Dabbler.Reports.Core" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dabbler.Reports.Core" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Dabbler.Reports.Core" />
                    
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 Dabbler.Reports.Core --version 2.0.2
                    
#r "nuget: Dabbler.Reports.Core, 2.0.2"
                    
#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 Dabbler.Reports.Core@2.0.2
                    
#: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=Dabbler.Reports.Core&version=2.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Dabbler.Reports.Core&version=2.0.2
                    
Install as a Cake Tool

Dabbler.Reports.Core

Part of the Dabbler Platform. See docs/platform-overview.md for the platform-level view of how this library fits in.

Banded report layout engine with RDF-based report definitions. Supports grouping, aggregates, running totals, hide duplicates, subreports, PrintWhen expressions, and CanGrow / CanShrink layout.

Audience

Teams needing banded business-report rendering (sales summaries, order-by-customer, audit listings) where Excel + PivotTable is the familiar mental model but the deliverable needs to be a typeset PDF or an in-app interactive viewer. This library is the engine; see sibling packages for export and Blazor UI.

Prerequisites and stack constraints

  • .NET 10 (current LTS)
  • Reference to DabblerPdf for text measurement (see warnings below for the license implication)

Install

Adoption note: The recommended adoption model for internal projects is integrated source under src/Libs/Dabbler.Reports.Core/. NuGet packages are available; to install the package: dotnet add package Dabbler.Reports.Core

Minimal registration

The library has no required DI registration — RdfParser, ReportDataEngine, and BandLayoutEngine are constructed directly per report run. If your app routes report data through a shared abstraction, register your IReportDataProvider implementation:

builder.Services.AddScoped<IReportDataProvider, YourReportDataProvider>();

Smallest working example

// 1. Parse an RDF report definition
var parseResult = RdfParser.Parse(rdfJson);
var report = parseResult.Report;

// 2. Execute the data query
var engine = new ReportDataEngine(dataProvider);
var data = await engine.ExecuteAsync(report, parameterValues);

// 3. Compose pages
var layoutEngine = new BandLayoutEngine(report, textMeasurer);
var pages = layoutEngine.Compose(data);

// The composed pages flow into Dabbler.Reports.Export (PDF) or
// Dabbler.Reports.Blazor (in-browser viewer).

Capabilities at a glance

  • Banded layout — Detail, group header/footer, page header/footer, and report header/footer bands.
  • Grouping and sorting — Multi-level grouping with aggregate summaries.
  • Running totals — Accumulate values across detail rows or group boundaries.
  • Hide duplicates — Suppress repeated values within groups.
  • Subreports — Embed child reports within parent report bands.
  • PrintWhen expressions — Conditionally show/hide elements based on data.
  • CanGrow / CanShrink — Dynamic element sizing based on content.
  • Styles — Named styles with font, color, alignment, borders, and padding.
  • Expression evaluation — Field references, parameters, built-in functions, and aggregate calculations. The expression engine ships in this package (Dabbler.Reports.Core.Expressions).

RDF format

Report definitions use a JSON-based format (.rdf.json) describing bands, elements, data sources, parameters, grouping, sorting, and styles. See docs/reports/rdf-schema.md for the full schema reference and one worked example.

Warnings and caveats

  • DabblerPdf license — non-MIT. DabblerPdf (this library's text- measurement dependency, and the engine Dabbler.Reports.Export uses for PDF rendering) is a Dabbler-authored C# port of OpenPDF and is dual-licensed LGPL-2.1-only OR MPL-2.0 — not MIT. Consumers whose distribution policy requires non-copyleft licenses for transitive PDF dependencies should review this before adopting. The THIRD-PARTY-NOTICES.txt file is included in the NuGet package.
  • License (this library): MIT (see LICENSE).

If this library stops being maintained

This package is MIT-licensed, and its source is in src/Libs/Dabbler.Reports.Core. If it stops being maintained, copy that source into your application, replace the package reference with a project reference to your copy, and own it from there. Keep the MIT license notice with the copied code; the third-party PDF dependencies keep their own licenses.

Product Compatible and additional computed target framework versions.
.NET 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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Dabbler.Reports.Core:

Package Downloads
Dabbler.Reports.Export

PDF export for Dabbler Reports: renders composed report pages to PDF documents using the DabblerPdf library. MIT-licensed. Note: this package takes a direct dependency on DabblerPdf (LGPL-2.1-only OR MPL-2.0); see THIRD-PARTY-NOTICES.txt for the canonical license text.

Dabbler.Reports.Blazor

Blazor components for rendering and interacting with Dabbler Reports: ReportViewer, ParameterPromptForm, and PDF export integration. MIT-licensed. Note: this package takes a transitive dependency on DabblerPdf (LGPL-2.1-only OR MPL-2.0) via Dabbler.Reports.Core and Dabbler.Reports.Export; see THIRD-PARTY-NOTICES.txt for the canonical license text.

Dabbler.Platform.Stubs

Opt-in stub providers for Dabbler bUnit and demo hosts: grid-data, combo-box, entity-metadata and navigation providers for Dabbler.Components; report-data, artifact-catalog and usage-tracking providers for Dabbler.Reports.Core; and a stub authentication-state provider. Includes AddDabblerPlatformStubs(definition) and the focused per-provider helpers. Carries a transitive dependency on DabblerPdf (LGPL-2.1-only OR MPL-2.0) via Dabbler.Reports.Core.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.2 132 11/13/2026
2.0.1 117 11/13/2026
2.0.0 129 11/13/2026
1.0.0 134 11/9/2026
0.1.0-preview.1 126 5/30/2026