Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Allows you to configure Web Reporting application settings.

Namespace: DevExpress.AspNetCore.Reporting

Assembly: DevExpress.AspNetCore.Reporting.v24.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