Table of Contents

Class HttpReportViewerBackend

Namespace
ReportWright.Blazor
Assembly
ReportWright.Blazor.dll

The WebAssembly backend: the definition comes from the server's definition endpoint, every dataset's rows from its dataset endpoint before the engine runs (the server evaluates each query from the stored definition with the values sent — a client never sends command text), and exports from its export endpoint. Fonts are the engine's bundled faces, which the server measures with too.

public sealed class HttpReportViewerBackend : ReportViewerBackend
Inheritance
HttpReportViewerBackend
Inherited Members

Constructors

HttpReportViewerBackend(HttpClient, string)

Initializes the backend.

Properties

ExportFormats

Gets the export format names on offer.

Fonts

Gets the font engine the viewer measures with — the same faces on every side.

Methods

CreateDataProviderAsync(string, ReportDefinition, IReadOnlyDictionary<string, ReportParameterValue>, CancellationToken)

Supplies the data for one run. In-process this is the live provider; over HTTP every dataset's rows are fetched here first, because the engine asks synchronously and a browser cannot answer that way.

ExportAsync(string, ReportPageModel, IReadOnlyDictionary<string, ReportParameterValue>, string, CancellationToken)

Exports a run.

LoadDefinitionAsync(string, CancellationToken)

Loads a report definition.

LoadExportFormatsAsync(CancellationToken)

Asks the server which export formats it offers; ExportFormats is empty until this has run.