[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Web.WebHostBuilderExtensions.UseReporting

UseReporting Method

UseReporting(HttpApplication, Action<ReportingSettings>)

Configures middleware for the ActiveReports viewer API.

Declaration
public static HttpApplication UseReporting(this HttpApplication builder, Action<ReportingSettings> configure = null)
Parameters
Type Name Description
HttpApplication builder

A HttpApplication object to configure.

Action<ReportingSettings> configure

An Action<T> object to configure the report viewer. This parameter is optional and can be null.

Returns
Type Description
HttpApplication

A HttpApplication object so that additional calls can be chained.

Examples
this.UseReporting(settings =>
{
	settings.UseFileStore(new DirectoryInfo("/path/to/dir"));
	// Add other configurations if it necessary
});