ICachedReportSourceWebResolverAsync Interface
Retrieves a CachedReportSourceWeb object associated with the specified report name.
Namespace: DevExpress.XtraReports.Web.WebDocumentViewer
Assembly: DevExpress.XtraReports.v24.2.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
Remarks
When the Web Document Viewer in asynchronous mode displays a report specified by a name, it can use a ICachedReportSourceWebResolverAsync service to get the CachedReportSourceWeb object that generates a document from a report and caches the document pages.
The ICachedReportSourceWebResolverAsync.GetCachedReportSourceWebAsync method is called when the application uses an asynchronous engine. To enable an asynchronous engine, call one of the following methods at the application startup:
ASP.NET MVC | ASP.NET Core |
---|---|
DefaultWebDocumentViewerContainer.UseAsyncEngine, DefaultReportDesignerContainer.UseAsyncEngine | ReportingConfigurationBuilder.UseAsyncEngine |
The ICachedReportSourceWebResolverAsync service is used to get a report when the WebDocumentViewerClientSideModelGenerator.GetModelAsync method is called.
Note
Review the Open a Report in ASP.NET Core Application help topic for more information.