StartupExtensions.UseReporting(IApplicationBuilder, Action<ReportingSettings>) Method
In This Article
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 | IApplication |
An application to which a configuration action is applied. |
configure | Action<Reporting |
A configuration action. |
#Returns
Type | Description |
---|---|
IApplication |
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