Can't set up keep-alive for .NET Core Reporting Services and Angular Report Viewer

1 Answer 343 Views
.NET Core Report Viewer - Angular
Pavel
Top achievements
Rank 1
Pavel asked on 09 Sep 2021, 10:03 AM

Hello,

I'm trying to use the keep-alive feature of the Reporting services which is described here. I'm doing it to get rid of the 'expired client' message.

I couldn't find any elaborate tutorial how to achieve that.

What I'm trying to do:

  • Send a POST request to https:/localhost:44325/api/reports/clients/keepAlive/87e05e1425d (which is a correct Reporing API Address with a correct client Id ). The server returns 404. 
  • Inspect Telerik.Reporting.Services.AspNetCore.ReportsControllerBase method signatures in Visual Studio. It doesn't contain anything reminiscent of the keepAlive method.

Is there a complete tutorial how to set up the keep-alive?
I'm using Telerik.Reporting.Services.AspNetCore 15.0.21.224 with a standard configuration as described here:
https://docs.telerik.com/reporting/telerik-reporting-rest-service-aspnetcore-mvc-core3

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 14 Sep 2021, 07:25 AM

Hello Pavel,

Please, note that we introduced this functionality in R2 2021 SP1. You need to upgrade in order to use it.

If you use an Html5 Report Viewer, you may use its option keepClientAlive - see Report Viewer Initialization. Setting it to True (the default value) will send the requests automatically to keep the session alive for the viewer.

I assure you that the ReportsControllerBase exposes the virtual method ReportsControllerBase.KeepClientAlive - see the linked screenshot for reference.

Regards,
Todor
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 Core Report Viewer - Angular
Asked by
Pavel
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or