Skip to main content

StartupExtensions.UseDevExpressBlazorReporting(IApplicationBuilder) Method

Registers the DevExpress Blazor Reporting middleware.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v22.2.JSBasedControls.BlazorServer.dll

NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.BlazorServer

Declaration

public static IApplicationBuilder UseDevExpressBlazorReporting(
    this IApplicationBuilder app
)

Parameters

Name Type Description
app IApplicationBuilder

An object that provides the mechanisms to configure an application’s request pipeline.

Returns

Type Description
IApplicationBuilder

An object that provides the mechanisms to configure an application’s request pipeline for subsequent use.

Remarks

Call the UseDevExpressBlazorReporting method to register the DevExpress Blazor Reporting middleware. Call the UseDevExpressBlazorReporting method in the project’s Startup.Configure method:

using DevExpress.AspNetCore;
using DevExpress.Blazor.Reporting;
// ...
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    // ...
    app.UseDevExpressBlazorReporting();
    // ...
}        
See Also