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
<PackageReference Include="Dabbler.Reports.Core" Version="2.0.2" />
<PackageVersion Include="Dabbler.Reports.Core" Version="2.0.2" />
<PackageReference Include="Dabbler.Reports.Core" />
paket add Dabbler.Reports.Core --version 2.0.2
#r "nuget: Dabbler.Reports.Core, 2.0.2"
#:package Dabbler.Reports.Core@2.0.2
#addin nuget:?package=Dabbler.Reports.Core&version=2.0.2
#tool nuget:?package=Dabbler.Reports.Core&version=2.0.2
Dabbler.Reports.Core
Part of the Dabbler Platform. See
docs/platform-overview.mdfor 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
DabblerPdffor 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.
Related packages
Dabbler.Reports.Export— PDF exporter that consumes composed pages from this library.Dabbler.Reports.Blazor— Blazor UI for the parameter-prompt → run → view lifecycle.
Warnings and caveats
- DabblerPdf license — non-MIT.
DabblerPdf(this library's text- measurement dependency, and the engineDabbler.Reports.Exportuses 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. TheTHIRD-PARTY-NOTICES.txtfile 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 | Versions 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. |
-
net10.0
- DabblerPdf (>= 1.3.0)
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 |