DevelopmentModeOptions.Enabled Property
Enables Development mode.
Namespace: DevExpress.XtraReports.Web.Extensions.Options
Assembly: DevExpress.Web.Reporting.v25.1.Common.Services.dll
NuGet Package: DevExpress.Web.Reporting.Common.Services
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean |
|
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