WebDocumentViewerConfigurationBuilder.UseCachedReportSourceBuilder() Method
Forces reporting components to use the cached report source.
Namespace: DevExpress.AspNetCore.Reporting
Assembly: DevExpress.AspNetCore.Reporting.v25.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
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.
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:
- Web Farm and Web Garden Support
- Microsoft Azure Integration Specifics
- Web Document Viewer Cache Management
- UseDbStorage(String)
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the UseCachedReportSourceBuilder() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.