Skip to main content

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

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