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

DevelopmentModeOptions.Enabled Property

Enables Development mode.

Namespace: DevExpress.XtraReports.Web.Extensions.Options

Assembly: DevExpress.Web.Reporting.v24.2.Common.Services.dll

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

#Declaration

public bool Enabled { get; set; }

#Property Value

Type Description
Boolean

true if Development mode is enabled; otherwise, false.

#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.

You can set the Enabled property to false to disable all diagnostics:

var builder = WebApplication.CreateBuilder(args);

builder.Services.ConfigureReportingServices(configurator => {
    configurator.UseDevelopmentMode(options => {
        options.Enabled = false;
    });
});

var app = builder.Build();
See Also