Skip to main content
All docs
V24.2

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

ICachedReportSourceWebResolverAsync Interface

In This Article

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

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 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.

See Also