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

WebDocumentViewerController Class

A base class for the controller that processes HTTP requests from a Web Document Viewer.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly: DevExpress.AspNetCore.Reporting.v24.2.dll

NuGet Package: DevExpress.AspNetCore.Reporting

#Declaration

[Route("DXXRDV")]
public abstract class WebDocumentViewerController :
    ControllerBase

#Remarks

If your application uses the Web Document Viewer component, you should explicitly implement a controller as the following code sample illustrates:

C#
using DevExpress.AspNetCore.Reporting.WebDocumentViewer;
using DevExpress.AspNetCore.Reporting.WebDocumentViewer.Native.Services;
// ...
    public class CustomWebDocumentViewerController : WebDocumentViewerController {
        public CustomWebDocumentViewerController(IWebDocumentViewerMvcControllerService controllerService) : base(controllerService) {
        }
    }

For a code sample, review the following help topics:

#Inheritance

Object
ControllerBase
Controller
DevExpress.AspNetCore.Reporting.Native.ControllerBase
WebDocumentViewerController
See Also