Skip to main content
All docs
V25.1
  • ReportingConfigurationBuilderBase<T>.UseDevelopmentMode(Action<DevelopmentModeOptions>) Method

    Allows you to configure Development mode.

    Namespace: DevExpress.XtraReports.Web.Extensions.Services

    Assembly: DevExpress.Web.Reporting.v25.1.Common.Services.dll

    NuGet Package: DevExpress.Web.Reporting.Common.Services

    Declaration

    public T UseDevelopmentMode(
        Action<DevelopmentModeOptions> configure
    )

    Parameters

    Name Type Description
    configure Action<DevelopmentModeOptions>

    An Action<T> delegate method that allows you to specify Development mode options.

    Returns

    Type Description
    T

    An object that can be used to further configure reporting services.

    Remarks

    The ReportingConfigurationBuilder.UseDevelopmentMode() method enables Development mode on both server and client sides. The method sets the Enabled property to true and enables all application diagnostic options in development mode.

    The following code snippet enables development mode only for the server-side application and disables regular checks to find version mismatches:

    var builder = WebApplication.CreateBuilder(args);
    
    builder.Services.ConfigureReportingServices(configurator => {
        configurator.UseDevelopmentMode(options => {
            options.EnableClientSideDevelopmentMode = false;
            options.CheckClientLibraryVersions = false;
        });
    });
    
    var app = builder.Build();
    
    See Also