Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportingConfigurationBuilderBase<T>.UseDevelopmentMode(Action<DevelopmentModeOptions>) Method

Allows you to configure Development mode.

Namespace: DevExpress.XtraReports.Web.Extensions.Services

Assembly: DevExpress.Web.Reporting.v24.2.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