Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RDLC Local report viewer for ASP.NET Core and Angular(>2.0)

Is there any way to show RDLC Local ReportViewer control in asp.net core webpage?

To show a ReportViewer, on a traditional WebForms application, the below code works.

<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>

        <div style="height: 600px;">
            <rsweb:ReportViewer ID="reportViewer" runat="server" Width="100%" Height="100%"></rsweb:ReportViewer>
        </div>
    </form>
</body>

I have already tried and tested the below components. The results are given below.

  1. ReportViewerForMvc - Works for MVC, but not compatible with ASPNET Core.
  2. MvcReportViewer - Works for MVC, but not compatible with ASPNET Core(See this issue: https://github.com/ilich/MvcReportViewer/issues/121).
  3. MvcReportViewer - Does not use microsoft viewer control, thus supports aspnet core, but does not work with Local Reports(Need a report server url).
  4. ngx-ssrs-reportviewer npm package - A wrapper over Remote Reports, does not supports Local reports.(Need a report server url)

Q1. What is the best approach to use <rsweb:ReportViewer> in asp.net core application?

like image 322
int-i Avatar asked Mar 15 '18 21:03

int-i


People also ask

How to render RDLC report in ASP NET Core using MVC?

Next, Add an AddMvc method to the ConfigureServices method that allows you to use ASP.NET Core MVC. Next, Add Controllers folder, then create a Report controller Opening your ReportController, then add a Print action that allows you to render RDLC report in ASP.NET Core.

How do I view RDL/RDLC/SSRs reports in core report viewer?

The ASP.NET Core Report Viewer requires a Web API service to process the RDL, RDLC, and SSRS report files. Right-click the project and select Add > New Item from the context menu.

How to create a local report in ASP NET Core?

Next, Right-click on your project, then select Manage Nuget Packages => Search and Install 'AspNetCore.Reporting' into your project. This library supports LocalReport, ServerReport, SSRS, ReportViewer in ASP.NET Core. Next, You can create an ASP.NET MVC project or Windows Forms Application project to help you design the local report.

What is the best report viewer for ASP NET Core?

About report viewer for asp.net core , you could try to use Stimulsoft Reports.Web reporting tool. This repository contains the source code of the examples of usage Stimulsoft Reports.Web reporting tool in the ASP.NET Core applications, using C# code and HTML5/Flash components.


1 Answers

Microsoft is not implementing or bringing RDLC report viewer into aspnet core. Instead they are purchasing a product to fill the void.

Full link to news - https://blogs.msdn.microsoft.com/sqlrsteamblog/2018/04/02/microsoft-acquires-report-rendering-technology-from-forerunner-software/

Link to original issue - https://github.com/aspnet/Home/issues/1528

Here is the essence. "Microsoft acquires report rendering technology from Forerunner Software

We’re pleased to announce that we’ve acquired technology from Forerunner Software to accelerate our investments in Reporting Services. This technology includes, among other things, client-side rendering of Reporting Services (*.rdl) reports, responsive UI widgets for viewing reports, and a JavaScript SDK for integrating reports into other apps – a testament to what our partners can achieve building on our open platform.

This is great news for you, as we see opportunities to apply this technology to multiple points of feedback we’ve heard from you:

You’re looking for cloud Software-as-a-Service (SaaS) or Platform-as-a-Service (PaaS) that can run SSRS reports. As you might’ve seen in our Spring ’18 Release Notes, we’re actively working on bringing SSRS reports to the Power BI cloud service, and we’re building on client-side rendering to make that possible. You want to view SSRS reports on your phone, perhaps using the Power BI app. We believe this technology will help us deliver better, more responsive UI for supplying report parameter values, navigating within reports, and possibly even viewing report content.

You love the Report Viewer control… but it’s an ASP.NET Web Forms control. You need something you can integrate into your ASP.NET Core/MVC app or non-ASP.NET app. With this technology, we hope to deliver a client-side/JavaScript-based Report Viewer you can integrate into any modern app.

These are large undertakings and we don’t yet have timeframes to share, but stay tuned over the coming months as we always strive to share our progress with you and hear your feedback as early and often as we can.

Forerunner Software will continue to support existing customers for a limited period of time."

like image 136
int-i Avatar answered Sep 21 '22 08:09

int-i