Back to Devexpress

ReportDesignerConfigurationBuilder Class

xtrareports-devexpress-dot-aspnetcore-dot-reporting-83c6e91e.md

latest6.8 KB
Original Source

ReportDesignerConfigurationBuilder Class

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

Namespace : DevExpress.AspNetCore.Reporting

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

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

csharp
public class ReportDesignerConfigurationBuilder
vb
Public Class ReportDesignerConfigurationBuilder

The following members return ReportDesignerConfigurationBuilder objects:

Show 16 links

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, call the ConfigureReportingServices(IServiceCollection, Action<ReportingConfigurationBuilder>) method at the application startup.

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

csharp
using DevExpress.AspNetCore;
using DevExpress.AspNetCore.Reporting;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddDevExpressControls();
builder.Services.AddMvc(); 

builder.Services.ConfigureReportingServices(configurator => {
    configurator.ConfigureReportDesigner(designerConfigurator => {
        designerConfigurator.RegisterDataSourceWizardConnectionStringsProvider<customProvider>();
    });
});        

var app = builder.Build();

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

Inheritance

Object ReportDesignerConfigurationBuilder

See Also

ReportDesignerConfigurationBuilder Members

DevExpress.AspNetCore.Reporting Namespace