Skip to main content

WebDocumentViewerConfigurationBuilder.UseCachedReportSourceBuilder() Method

Forces reporting components to use the cached report source.

Namespace: DevExpress.AspNetCore.Reporting

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

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public WebDocumentViewerConfigurationBuilder UseCachedReportSourceBuilder()

Returns

Type Description
WebDocumentViewerConfigurationBuilder

A WebDocumentViewerConfigurationBuilder that can be used to further configure the Web Document Viewer services.

Remarks

Call this method at application startup to force the Document Viewer and the Report Designer Preview to use the cached report source.

View Example: ASP.NET Core Reporting - Best Practices - Optimize Memory Consumption)

This method addresses errors that intermittently occur when the Document Viewer and the Report Designer’s Preview operate in a clustered hosting environment. These errors occur when a user request is handled by an application instance that has no access to documents or reports created earlier.

Review the following help topics for more information:

See Also