ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Web Assembly / GrapeCity.ActiveReports.Web Namespace / WebHostBuilderExtensions Class / UseReporting Method
A System.Web.HttpApplication object to configure.
An Action object to configure the report viewer. This parameter is optional and can be null.
Example

In This Topic
    UseReporting Method
    In This Topic
    Configures middleware for the ActiveReports viewer API.
    Syntax
    'Declaration
     
    Public Shared Function UseReporting( _
       ByVal builder As HttpApplication, _
       Optional ByVal configure As Action(Of ReportingSettings) _
    ) As HttpApplication
    public static HttpApplication UseReporting( 
       HttpApplication builder,
       Action<ReportingSettings> configure
    )

    Parameters

    builder
    A System.Web.HttpApplication object to configure.
    configure
    An Action object to configure the report viewer. This parameter is optional and can be null.

    Return Value

    A System.Web.HttpApplication object so that additional calls can be chained.
    Example
    this.UseReporting(settings =>
    {
    	settings.UseFileStore(new DirectoryInfo("/path/to/dir"));
    	// Add other configurations if it necessary
    });
    See Also