Using rdlc report viewer with .Net Core (Blazor)
-
We have some rdlc reports, which I present on a web form report viewer. I've used .Net Framework for all our live apps, so I'm not familiar with all the new tools. I've been trying to find a way forward into Core, but can't find a solution to the report viewer. It seems Microsoft abandoned this feature. I've Googled, all I see are 3rd party libraries which cost. Am I stuck on Framework? I've even tried exporting the report to pdf, and using an iframe or div to display, but it's messy, and overflowed somehow. There are no page controls, etc.
Senior Developer
-
We have some rdlc reports, which I present on a web form report viewer. I've used .Net Framework for all our live apps, so I'm not familiar with all the new tools. I've been trying to find a way forward into Core, but can't find a solution to the report viewer. It seems Microsoft abandoned this feature. I've Googled, all I see are 3rd party libraries which cost. Am I stuck on Framework? I've even tried exporting the report to pdf, and using an iframe or div to display, but it's messy, and overflowed somehow. There are no page controls, etc.
Senior Developer
It's an absolute mess. After years of complaining about the lack of SSRS support in MVC, then in .NET Core, and now in .NET, Microsoft's official response[^] is that you have to pay for PowerBI Premium, and move all of your reports to their portal. :doh: There are some free third-party libraries which provide limited SSRS support - for example:
- lkosson/reportviewercore[^] - No interactive web control for previewing or entering parameters; no SQL Spatial types support; workaround required for image support on Linux;
- alanjuden/MvcReportViewer[^] - Not updated in the last five years; interactive web viewer uses Bootstrap 3; there are a few forks[^], but I've not seen anything newer that the original;
So far, we've stuck with MVC5 and embedded the WebForms control. If we want to update to .NET 6/7/+, we'll probably try to piece something together from those libraries.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
It's an absolute mess. After years of complaining about the lack of SSRS support in MVC, then in .NET Core, and now in .NET, Microsoft's official response[^] is that you have to pay for PowerBI Premium, and move all of your reports to their portal. :doh: There are some free third-party libraries which provide limited SSRS support - for example:
- lkosson/reportviewercore[^] - No interactive web control for previewing or entering parameters; no SQL Spatial types support; workaround required for image support on Linux;
- alanjuden/MvcReportViewer[^] - Not updated in the last five years; interactive web viewer uses Bootstrap 3; there are a few forks[^], but I've not seen anything newer that the original;
So far, we've stuck with MVC5 and embedded the WebForms control. If we want to update to .NET 6/7/+, we'll probably try to piece something together from those libraries.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Thanks. Has anyone tried the 3rd party ones like Syncfusion?