Back to Devexpress

ICachedReportSourceWebResolverAsync Interface

xtrareports-devexpress-dot-xtrareports-dot-web-dot-webdocumentviewer-bd4dd061.md

latest2.7 KB
Original Source

ICachedReportSourceWebResolverAsync Interface

Retrieves a CachedReportSourceWeb object associated with the specified report name.

Namespace : DevExpress.XtraReports.Web.WebDocumentViewer

Assembly : DevExpress.XtraReports.v25.2.Web.dll

NuGet Package : DevExpress.Web.Reporting.Common

Declaration

csharp
public interface ICachedReportSourceWebResolverAsync
vb
Public Interface ICachedReportSourceWebResolverAsync

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 MVCASP.NET Core
DefaultWebDocumentViewerContainer.UseAsyncEngine, DefaultReportDesignerContainer.UseAsyncEngineReportingConfigurationBuilder.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.

See Also

ICachedReportSourceWebResolverAsync Members

DevExpress.XtraReports.Web.WebDocumentViewer Namespace