BbQ.ChatWidgets.Blazor
1.2.2
dotnet add package BbQ.ChatWidgets.Blazor --version 1.2.2
NuGet\Install-Package BbQ.ChatWidgets.Blazor -Version 1.2.2
<PackageReference Include="BbQ.ChatWidgets.Blazor" Version="1.2.2" />
<PackageVersion Include="BbQ.ChatWidgets.Blazor" Version="1.2.2" />
<PackageReference Include="BbQ.ChatWidgets.Blazor" />
paket add BbQ.ChatWidgets.Blazor --version 1.2.2
#r "nuget: BbQ.ChatWidgets.Blazor, 1.2.2"
#:package BbQ.ChatWidgets.Blazor@1.2.2
#addin nuget:?package=BbQ.ChatWidgets.Blazor&version=1.2.2
#tool nuget:?package=BbQ.ChatWidgets.Blazor&version=1.2.2
BbQ.ChatWidgets.Blazor
Render interactive chat widgets and reporting dashboards in a .NET 8 Blazor application. This package includes the Razor components and their static assets, and depends on BbQ.ChatWidgets for the shared models and server contracts.
Install
dotnet add package BbQ.ChatWidgets.Blazor
Render chat widgets
Import BbQ.ChatWidgets.Blazor.Components and pass a widget to WidgetRenderer. Host the component in an interactive render mode for callbacks. In Program.cs, call AddBbQChatWidgetsBlazor from the BbQ.ChatWidgets.Blazor namespace to configure host component overrides.
@using BbQ.ChatWidgets.Blazor.Components
<WidgetRenderer Widget="Widget" OnAction="HandleWidgetAction" />
Mount a reporting workspace
Register an IReportingWorkspaceClient in your host. Use ReportingHttpClient with a host-configured HttpClient, or use an in-process adapter that applies the current caller's authorization and reporting scope. In a Blazor Server circuit, the configured client must authenticate outbound requests as the current caller. Register the client in the prerendering host too if the page prerenders.
@using BbQ.ChatWidgets.Blazor.Components
@using BbQ.ChatWidgets.Blazor.Reporting
@inject IReportingWorkspaceClient Reports
<ReportingWorkspace Client="Reports" InitialPreset="warehouse-grid" />
The workspace runs built-in and saved definitions, renders chart settings, and displays server-paged grids when the catalog supports paging. For a custom layout, construct a ReportingWidget with the data and chart settings and pass it to WidgetRenderer. The optional IReportingInputWorkspaceClient exposes scoped choices for host-supplied controls.
See the Blazor sample, the reporting integration guide, and the ASP.NET Core package guide.
Authored reporting layouts
The workspace recognizes saved layout definitions and lets readers switch modes and card variants. Native charts and grouped cards use the shared reporting renderer. The Blazor editor retains existing layouts when changing ordinary report settings. Create or rearrange layouts using the Angular layout editor, a host tool, or the typed .NET contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- BbQ.ChatWidgets (>= 1.2.2)
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.