Skip to main content
A newer version of this page is available.
All docs
V22.1

ReportingConfigurationBuilder.UseDevelopmentMode() Method

Enables the Development Mode for extended diagnostics.

Namespace: DevExpress.AspNetCore.Reporting

Assembly: DevExpress.AspNetCore.Reporting.v22.1.dll

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public ReportingConfigurationBuilder UseDevelopmentMode()

Returns

Type Description
ReportingConfigurationBuilder

A ReportingConfigurationBuilder so that further configuration can be chained.

Remarks

Development Mode allows you to perform the following diagnostics:

Library Version Validation

The DevExpress Web Reporting application relies on a server-side application to process reports. The version of the DevExpress scripts (npm packages) should match the version of the server-side libraries (NuGet packages). You can enable Development Mode to check for library version mismatch on every request to the server:

public class Startup {
    // ...
    public void ConfigureServices(IServiceCollection services) {
        // ...
        services.ConfigureReportingServices(configurator => {
            configurator.UseDevelopmentMode();
      // You can disable version validation manually:
      // configurator.UseDevelopmentMode(x => x.CheckClientLibraryVersions = false);
            // ...
        });
        // ...
    }
}

If versions do not match, the warning is written to the log:

web-application-diagnostics-debug-log-versions

See Also