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
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:
- ASP.NET Core and Angular Reporting Best Practices
- Use Visual Studio Templates to Create an ASP.NET Core Application with a Document Viewer
- Use Visual Studio Templates to Create an Angular Application with a Document Viewer
- Add a Document Viewer to an ASP.NET Core MVC Application
Inheritance
Object
ControllerBase
Controller
DevExpress.AspNetCore.Reporting.Native.ControllerBase
WebDocumentViewerController
See Also