Exploring SignalR: Creating a Hub and Establishing Connection via REST API

Balaji Ravikumar 0 Reputation points
2024-02-22T14:04:54.2366667+00:00

I am developing a project where I am extensively using REST APIs. I am curious to know how to integrate SignalR with REST APIs, specifically, where I should create a Hub. Should the Hub be a part of the REST API or a separate configuration within my application? How can I establish a connection to a Hub when utilizing a REST API? Are there any specific techniques I should be aware of when integrating Signal_R with a RESTful architecture? It will be greatly appreciated if anyone can provide some examples or resources demonstrating this integration. Thank you in advance for your time and expertise!

Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
121 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 18,856 Reputation points Microsoft Employee
    2024-02-23T05:45:03.37+00:00

    @Balaji Ravikumar Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    Could you please confirm whether you are using Azure SingalR Service or SignalR service. If you are looking for Azure SignalR service, you look at this documentation steps to Broadcast real-time message from a console using RestAPI.

    If you are talking about the SignalR service do let us know that so that re-tag this thread so that right SME folks will be engaged accordingly.

    0 comments No comments