Jayraj Chhaya

Jayraj Chhaya

  • 367
  • 4.3k
  • 56k

Signal R in Dot net Core

Aug 27 2024 1:40 PM

I have an advertisement display project managed by SignalR in .NET Core. It is currently working well, and the client is happy with it.

However, I now want to implement subscription-based management for displaying data. If the subscription has expired, the advertisements should not be displayed; otherwise, they should be displayed as usual. The client connects to the SignalR hub only once, after which static data is displayed on the screen, and the client does not call any methods from the SignalR hub.

How can I manage the subscription scenario in this situation? Since the client is not calling any methods from the SignalR hub and only connects once, how can I fit the subscription scenario into this setup?


Answers (1)