xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-webdocumentviewer-fb1da10e.md
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
[Route("DXXRDV")]
public abstract class WebDocumentViewerController :
ControllerBase
<Route("DXXRDV")>
Public MustInherit Class WebDocumentViewerController
Inherits ControllerBase
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:
Object ControllerBase Controller DevExpress.AspNetCore.Reporting.Native.ControllerBase WebDocumentViewerController
See Also