Table of Contents

Class ServerReportDesignerBackend

Namespace
ReportWright.Blazor.Server
Assembly
ReportWright.Blazor.Server.dll

The designer's backend in a Blazor Server application: it lists, loads and saves the host's ReportStore and answers the data pane through the host's metadata service, asking the host's ReportPermissions about the signed-in user first, as the REST API does. The preview runs through a ServerReportViewerBackend for the same user.

public sealed class ServerReportDesignerBackend : ReportDesignerBackend
Inheritance
ServerReportDesignerBackend
Inherited Members

Constructors

ServerReportDesignerBackend(ReportRunner, AuthenticationStateProvider?)

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.