Skip to main content
All docs
V23.2

StartupExtensions.UseReporting(IApplicationBuilder, Action<ReportingSettings>) Method

Allows you to configure Web Reporting application settings.

Namespace: DevExpress.AspNetCore.Reporting

Assembly: DevExpress.AspNetCore.Reporting.v23.2.dll

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public static IApplicationBuilder UseReporting(
    this IApplicationBuilder builder,
    Action<ReportingSettings> configure
)

Parameters

Name Type Description
builder IApplicationBuilder

An application to which a configuration action is applied.

configure Action<ReportingSettings>

A configuration action.

Returns

Type Description
IApplicationBuilder

A configured application.

Remarks

You can access DesignAnalyzerOptions and UserDesignerOptions in the UseReporting method.

The following code sample shows how to set up Report Design Analyzer options:

var app = builder.Build();

app.UseReporting(x => {
    x.DesignAnalyzerOptions.ShowErrors = false;
});

app.Run();
See Also