Back to Devexpress

WebDocumentViewerController Class

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-webdocumentviewer-fb1da10e.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

csharp
[Route("DXXRDV")]
public abstract class WebDocumentViewerController :
    ControllerBase
vb
<Route("DXXRDV")>
Public MustInherit Class WebDocumentViewerController
    Inherits ControllerBase

Remarks

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

csharp
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

WebDocumentViewerController Members

DevExpress.AspNetCore.Reporting.WebDocumentViewer Namespace