StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
SignalR
ByASP.NETASP.NET

SignalR

#39in Platform as a Service
Discussions3
Followers1.2k
OverviewDiscussions3

What is SignalR?

SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization.

SignalR is a tool in the Platform as a Service category of a tech stack.

SignalR Pros & Cons

Pros of SignalR

  • ✓Supports .NET server
  • ✓Real-time
  • ✓Free
  • ✓Fallback to SSE, forever frame, long polling
  • ✓WebSockets
  • ✓Simple
  • ✓Open source
  • ✓Ease of use
  • ✓JSON
  • ✓Cool

Cons of SignalR

  • ✗Expertise hard to get
  • ✗Requires jQuery
  • ✗Big differences between ASP.NET and Core versions
  • ✗Weak iOS and Android support

SignalR Alternatives & Comparisons

What are some alternatives to SignalR?

Firebase

Firebase

Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.

Socket.IO

Socket.IO

It enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.

ws

ws

It is a simple to use, blazing fast, and thoroughly tested WebSocket client and server implementation.

Pusher

Pusher

Pusher is the category leader in delightful APIs for app developers building communication and collaboration features.

Google Cloud Pub/Sub

Google Cloud Pub/Sub

Cloud Pub/Sub is a fully-managed real-time messaging service that allows you to send and receive messages between independent applications. You can leverage Cloud Pub/Sub’s flexibility to decouple systems and components hosted on Google Cloud Platform or elsewhere on the Internet.

Supabase

Supabase

Supabase is currently in early-Alpha .It is an open-source Firebase alternative. It adds realtime and RESTful APIs to your PostgreSQL database without a single line of code.

SignalR Integrations

ASP.NET Zero, StackStorm, AnyChart, .NET are some of the popular tools that integrate with SignalR. Here's a list of all 4 tools that integrate with SignalR.

ASP.NET Zero
ASP.NET Zero
StackStorm
StackStorm
AnyChart
AnyChart
.NET
.NET

SignalR Discussions

Discover why developers choose SignalR. Read real-world technical decisions and stack choices from the StackShare community.

arham-anees
arham-anees

Aug 29, 2023

Needs adviceonASP.NET CoreASP.NET CoreAngularAngularSignalRSignalR

Hi everyone! I am trying to implement a chat module in my product but it is not stable. My backend is in ASP.NET Core with EF Core, and my frontend is in Angular. Since I am already using dotnet, I used SignalR as a socket connection provider. At the moment, it works when the user logs in, the chats are loaded and the user is notified if there is any unread message just like any other app does by displaying a badge and number of unread chats. When the user navigates to chat, it loads the messages of chat. To avoid user waiting for messages I have stored the messages locally in a state management store and when the user switches the chat, it first loads messages from the store and then sends a request to server if there is any other message that is not on local.

The problem starts with multiple connections when single account is connected from multiple clients/browsers. From backend, I check if user is connected to SignalR socket then I send the message to all connections of user it does not work properly, this part is highly unstable. secondly, How can I improve the response of message loading? I only load 25 messages at the start.

Is there any article describing how Slack, Google Chat or MS Teams is handling the browser chat? it would be of great help.

Thanks

0 views0
Comments
blacknight-rh
blacknight-rh

Jul 31, 2022

Needs adviceon.NET Core.NET CoreFirebase Realtime DatabaseFirebase Realtime DatabaseMicrosoft SQL ServerMicrosoft SQL Server

Which option do you prefer to go with (considering scalability, and a limited budget):

Technologies in use: Angular / .NET Core 6

What do we want to achieve?

We want to create simple near-time web notifications, those notifications can be categorized into 2 sections:

  • User notification: which represents user activities and engagements.

  • System notification e.g release notes and maintenance time. The notification object is too simple just a title, body, userId, notificationStatus, and readAt. notification status is an enum with 3 values: unread, menuOpened, Read.

Options:

  1. use Firebase Realtime Database for user notifications and Microsoft SQL Server for system notifications (maybe using long poling or so to frequently call the getSystemNotification API ).

  2. use SignalR to push new notifications along with the SqlServer database and store both user and system into one table (as they almost have the same attributes)

0 views0
Comments
cbittel
cbittel

Jul 1, 2021

Needs adviceon.NET.NETSignalRSignalRgRPCgRPC

We need to interact from several different Web applications (remote) to a client-side application (.exe in .NET Framework, Windows.Console under our controlled environment). From the web applications, we need to send and receive data and invoke methods to client-side .exe on javascript events like users onclick. SignalR is one of the .Net alternatives to do that, but it adds overhead for what we need. Is it better to add SignalR at both client-side application and remote web application, or use gRPC as it sounds lightest and is multilingual?

SignalR or gRPC are always sending and receiving data on the client-side (from browser to .exe and back to browser). And web application is used for graphical visualization of data to the user. There is no need for local .exe to send or interact with remote web API. Which architecture or framework do you suggest to use in this case?

0 views0
Comments

Try It

Visit Website

Adoption

On StackShare

Companies
81
SJABTS+75
Developers
398
HTIJNB+392