Blazor app with Server and Client reporting scenario?

1 Answer 109 Views
.NET 5 .NET Core Report Designer - Web Report Designer (standalone) Report Viewer - Blazor
arkan
Top achievements
Rank 2
Iron
arkan asked on 12 Jul 2022, 04:42 AM | edited on 12 Jul 2022, 12:17 PM

Dear Sir

i have a  Net 5  Blazor app with Server and Client how to add blazor reporting with this scenario? 

actually how to apply this example  with balzor page and blazor report viewer 

https://docs.telerik.com/reporting/embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/how-to-use-html5-report-viewer-in-an-asp.net-core-in-.net-5-application

arkan
Top achievements
Rank 2
Iron
commented on 12 Jul 2022, 06:41 AM

please any help

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 13 Jul 2022, 01:21 PM

Hi Arkan,

In order to achieve the scenario from the linked article in the case of a Blazor Server and Client project, you will need to split things up as follows:

  • Reporting REST Service - Blazor Server project
  • Blazor Report Viewer - Blazor Client project

What I mean by this is that since the Blazor Client projects use WebAssembly and are thus strictly client-side applications, the backend reporting service will have to be implemented in the server project.

Essentially, in the Server project, you may follow the How to Host Reports Service in ASP.NET Core in .NET 5 article to implement the reporting service, and in the Client project, you may follow the How to Use Blazor Report Viewer article to set up the viewer on the client-side. You only need to fix the script reference links and the link for the interop file to point to your Server project service and that is it.

Please let me know if you have any other questions.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
.NET 5 .NET Core Report Designer - Web Report Designer (standalone) Report Viewer - Blazor
Asked by
arkan
Top achievements
Rank 2
Iron
Answers by
Dimitar
Telerik team
Share this question
or