This example demonstrates how to use the End-User Report Designer and HTML5 Document Viewer in an ASP.NET Core application targeting .NET Framework v 4.6.1.
These controls require the DevExpress.AspNetCore.Reporting NuGet and xtrareportsjs Bower packages. To integrate these controls into an application, register the required services in the Startup class, reference the necessary client resources and use the ReportDesigner or WebDocumentViewer wrapper.
This example uses an Entity Framework data source as well as an SQL data source.
Before running this example, do the following:
1. In Visual Studio, right-click the ASP.NET Core application and select Manage Bower Packages. In the invoked window, switch to the Updates page and update the xtrareportsjs package to the required version. This downloads all the required client resources for deploying the control.
2. Right-click the ASP.NET Core application and select Manage NuGet Packages. In the invoked window, switch to the Updates page, enable the Include prerelease check box and update the DevExpress.AspNetCore.Reporting package.
You may need to add a new NuGet package source to install DevExpress packages online or offline from the C:\Program Files (x86)\DevExpress 17.2\Components\System\Components\packages path.
For step-by-step instructions, refer to the following documentation topic: ASP.NET Core Reporting (.NET Framework).
Question Comments
Added By: Sven Glöckner at: 11/5/2018 5:55:14 AM Is there any way to install xtrareportsjs by using npm or Visual Studio's new libman package manager?
As Bower is considered deprecated we already removed Bower and switched to npm.
Thanks
Sven