Azure SignalR Service (serverless) best practice to initially populate grid

1 Answer 119 Views
Grid
Muttley
Top achievements
Rank 1
Muttley asked on 16 Dec 2021, 05:38 PM

So in 2019 Telerik support told me Serverless is not supported. Well it's 2021 and I can't be the only person using the Azure SignalR Service "serverless".

I know it's not officially supported by Telerik as server SignalR methods can't be invoked with Serverless but I have got changes showing in the grid from a Razor page. The issue is I can't get the grid initially populated as I just see a spinner until the first update is received from the SignalR Service.

I'm thinking of initialising the grid datasource as SignalR, then I could perform an Ajax call to get the initial data, then leave it to receive updates from that point. Anyone in the community using grids with SignalR in this way? I'd appreciate any experiences whilst Telerik play catch up.

Many thanks.

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 21 Dec 2021, 12:13 PM

Hi,

There haven't been changes implemented to specifically target the serverless Azure SignalR Service. I am no Azure expert, but I found out that there is currently a preview feature that allows you to invoke a hub method from clients in serverless mode:

Azure Serverless Upstream settings

Is it possible that this feature will allow you to invoke the desired method?

I also came across this blogpost which I understand solves a similar scenario to what you would like to achieve.

Regards,
Aleksandar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Muttley
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or