ReportDesignerConfigurationBuilder Class

Exposes methods to register custom services for the Web Report Designer.

Namespace: DevExpress.AspNetCore.Reporting

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

Declaration

public class ReportDesignerConfigurationBuilder
Public Class ReportDesignerConfigurationBuilder

Remarks

You can register custom and/or predefined services to provide specific functionality to the Web Report Designer. For this purpose, use the methods exposed by the ReportDesignerConfigurationBuilder class. To access the ReportDesignerConfigurationBuilder object, use the ConfigureReportingServices(IServiceCollection, Action<ReportingConfigurationBuilder>) method within the Startup's ConfigureServices method.

The code below registers a custom IDataSourceWizardConnectionStringsProvider service for the Web Report Designer.

using DevExpress.AspNetCore;
using DevExpress.AspNetCore.Reporting;
//... 

public class Startup {
//... 
    public void ConfigureServices(IServiceCollection services) {
        services.AddDevExpressControls();
        services.AddMvc(); 

        services.ConfigureReportingServices(configurator => {
            configurator.ConfigureReportDesigner(designerConfigurator => {
                designerConfigurator.RegisterDataSourceWizardConnectionStringsProvider<customProvider>();
            });
        });        
    }
//...    
}

See Register Services in the Report Designer for a complete list of available services and their registration methods.

Inheritance

Object
ReportDesignerConfigurationBuilder
See Also