aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Asp.Net Core Reporting (SSRS)

Open KerolosMalak opened this issue 10 years ago • 269 comments

I am working on ASP.NET Core app and cannot find a solution for displaying SSRS reports. With the absents of "Microsoft.Reporting.WebForm" no longer works. What is the best practice for displaying SSRS reports on the web in ASP.NET Core

KerolosMalak avatar Jun 02 '16 09:06 KerolosMalak

With Core still being in RC (RTM by the end of the month), I don't think that an SSRS scenario is planned within the next 6 months but I'm not part of the team.

I would either generate those reports on the client side by using some javascript libraries or pre-generate those reports.

If you need something more "integrated", you can check out this community package:

https://github.com/ilich/MvcReportViewer

By the look of the issue https://github.com/ilich/MvcReportViewer/issues/121, they are interested in integrating it but with no success thus far.

MaximRouiller avatar Jun 02 '16 12:06 MaximRouiller

I don't understand why the dotnet and ASP.net core initiatives are keeping silent on this issue on all previous announcements. It is like [Reporting is not a major concern for developers and they can deal with it using html and print css classes] currently we are migrating a small erp with alot of ssrs rdlc files and css approach is not doing any good in cross browsers reporting. on the other hand, past week microsoft released ssrs 2016 with pure html5 viewer that eliminated the need for activex installation [which was the only downside for using ssrs on non-ie browser] ssrs 2016 viewer fit perfectly in asp.net core eco system perfectly but no official statement regarding asp.net core support was declared.

is it all blocked by System.Drawing?? because even itextsharp hadn't release a library until now. if it is System.Drawing then at least windows implementation can be completed before [linux and OSX] in order to increase adoption for current windows developer instead of waiting for the full cross-platform implementation for System.Drawing

I hope this post will make the team reconsider some priorities to enable ssrs within asp.net core

with respect for MvcReportViewer mentioned in previous post (it is a wrapper around webforms viewer) and it helped alot of mvc developers in the past to overcome the lack of mvc report viewer in mvc1 to mvc5 [Thanks so much ilich], I hope to see a full solution because ssrs was not a first class priority and people kept quite about it in pre-core mvc.

mmgafri avatar Jun 06 '16 22:06 mmgafri

Please developers, forward this issue to your colleagues in order to comment about it. this might give a priority for it and motivate the team to do something.

mmgafri avatar Jun 08 '16 01:06 mmgafri

@ddddddddeee22211 It's a V1.

You don't ship with SSRS support initially. The support with SSRS would probably come from the SSRS team and not the .NET team. Since we're not even out of RC yet, I don't see this as a critical feature in V1.

If you need to do reports, may I recommend just running the webforms version? Yeah. It's old. But at least it works and it's supported.

If you need X-Plat reports, I'll recommend something like Chartist. It allows you to generate charts directly on the client. Add a CSS file for printing purposes and boom. You have reports that can be printed.

MaximRouiller avatar Jun 08 '16 12:06 MaximRouiller

from your perspective it might not be critical but some other developers are considering it very important for their projects because once they develope an app and go live with it, development tasks get holded and reporting tasks become daily routine tasks. also some projects handle reports creation to BI (business intelligence) team who knows how to use ssrs but dont have an idea about asp.net core.

the aim of my post was to understand ssrs position within asp.net core eco system. or if it will be ignored as in mvc1 to mvc5. ssrs team are within microsoft and asp.net core team may discuss the issue with them. what drove me crazy was when i saw ssrs 2016 release note past week without mentioning anything about asp.net core. while on the other hand you see continous support for azure within asp.net core.believe me if we didn't rise a demand for ssrs, it will be ignored as in the previous mvc 5.

your advice about using webforms is an example about slowing down adoption of core initiative.at least if I had a statement about wether it will be supported or not , I'll be able to make strategic decisions about it.

thanks for chatist tip. I'll check it out and I hope you understood my point of view.

mmgafri avatar Jun 09 '16 04:06 mmgafri

@ddddddddeee22211 Ahhh... then I can't answer.

Right now, the only way to make SSRS components work on ASP.NET is on WebForms.

If you want their strategic position or if they will support it, we'll need to wait for an MS Employee to answer.

Maybe we can /cc @coolcsh ? He might not answer here but a blog post clarifying the position would be nice.

MaximRouiller avatar Jun 09 '16 12:06 MaximRouiller

In the SSRS team we are aware of the limitations of the ASP.NET WebForms and we are actively investigating and working in new options for the Report Viewer control Thanks

jtarquino avatar Jun 16 '16 23:06 jtarquino

@jtarquino

Thanks for the reply man!

We've been wanting an alternative since MVC. :stuck_out_tongue_winking_eye:

MaximRouiller avatar Jun 17 '16 12:06 MaximRouiller

That just made my day. [~happy ending~] Thanks @jtarquino , @MaximRouiller for all effort.

mmgafri avatar Jun 19 '16 17:06 mmgafri

@jtarquino That sounds great :-)

Can you say anything about when you expext to release first version of the "new option" for Report Viewer Control ? (Are there any roadmap/plan for this?)

Br. Boe

bm4you avatar Jun 30 '16 13:06 bm4you

Unfortunately I don't have a timeline to share at the moment

jtarquino avatar Jul 16 '16 00:07 jtarquino

have you tried using a Library by installing a Package on Package Manager Console and type following command into command window.

PM> Install-Package ReportViewerForMvc although i have tried on web-forms and they look pretty good.

untitled

bethwellagat avatar Jul 27 '16 09:07 bethwellagat

@bethwellagat again fire error "the dependency ReportViewerForMvc doesn't support framework .NetCoreapp" notes: working on ASP.NET Core project

KerolosMalak avatar Aug 01 '16 13:08 KerolosMalak

@jtarquino ping on this. Looks like there's more interest: https://github.com/aspnet/Mvc/issues/5332

Eilon avatar Sep 29 '16 06:09 Eilon

@jtarquino BTW if you want to start some discussions with my team, please email me and we can chat.

Eilon avatar Sep 29 '16 06:09 Eilon

Ohhh me like! The ball is rolling! 😀

MaximRouiller avatar Sep 29 '16 13:09 MaximRouiller

Hey everyone, I just finished writing a custom port of the report viewer control using the ReportExecutionService.asmx that's built into SSRS and I was targeting ASP.NET MVC. I had someone suggest porting it to .NetCore & MVC so I have completed that. Give it a try and let me know what you guys think: https://github.com/alanjuden/MvcReportViewer

Alan

alanjuden avatar Nov 08 '16 15:11 alanjuden

It looks like it has been about three months since ReportViewer in ASP Netcore MVC has been discussed here. I am working with the version Alan Juden has provided in a project I am moving from WinForms to netcore. Is there any signs Microsoft is stepping up to provide first class SSRS ReportViewer support or have they put SSRS in the same closet they put Visual FoxPro into a few years back?

wqwalter avatar Jan 25 '17 19:01 wqwalter

Any progress MS? Best option for now is to use a third party tool like Telerik Reports for browser rendering and SSRS backend for report subscriptions. Maybe as ddddddddeee22211 wrote, SSRS 2016 already has capability via HTML5 rendering engine but no documentation exists?

Prost98 avatar Mar 27 '17 21:03 Prost98

Hey @Eilon.

Any news since September? Especially since you guys now launched 1.0 (congrats!), pressure must be down a bit.

Anything you can share?

/cc @jtarquino

MaximRouiller avatar Mar 28 '17 12:03 MaximRouiller