Skip to main content

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

WebDocumentViewerConfigurationBuilder.UseCachedReportSourceBuilder() Method

Forces reporting components to use the cached report source.

Namespace: DevExpress.AspNetCore.Reporting

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