Table of Contents

Class HttpReportDesignerBackend

Namespace
ReportWright.Blazor.Designer
Assembly
ReportWright.Blazor.Designer.dll

The designer backend over the ReportWright REST API (ReportWright.AspNetCore).

public sealed class HttpReportDesignerBackend : ReportDesignerBackend
Inheritance
HttpReportDesignerBackend
Inherited Members

Constructors

HttpReportDesignerBackend(HttpClient, string)

Initializes the backend.

Properties

Viewer

Gets the backend the preview tab runs the in-memory definition through.

Methods

DiscoverFieldsAsync(byte[], string, string?, CancellationToken)

Discovers a dataset's fields from the source, for a definition as it stands in the designer.

GetCatalogAsync(byte[], string, string?, CancellationToken)

Describes one of the definition's data sources for the query designer: tables, columns, foreign keys.

GetDataSourcesAsync(string?, CancellationToken)

Lists the data sources the host offers authors, by name and kind, for the "new data source" dialog.

ListAsync(CancellationToken)

Lists the report paths the store holds.

LoadAsync(string, CancellationToken)

Loads a report's RDL bytes.

PreviewDataSetAsync(byte[], string, string?, int, CancellationToken)

Runs one of the definition's datasets and returns its first rows, for the dataset dialog.

SaveAsync(string, byte[], CancellationToken)

Saves a report's RDL bytes.

TestDataSourceAsync(byte[], string, string?, CancellationToken)

Tests one of the definition's data sources: connects, runs nothing.