Click here to Skip to main content
15,885,216 members
Everything / SignalR

SignalR

SignalR

Great Reads

by Altaf Ansari
SignalR Real-Time ChatApp with Emoji / Smiley and sending file attachment
by Altaf Ansari
Integration of SignalR with ASP.NET C# WebForm Application in Real-Time Chat Application
by Mustafa Kok
SignalR server and client applications for demonstrating common scenarios like connecting, disconnecting, joining and leaving groups, sending messages to all clients, to specific or group of clients
by dsuryd
Application of "MVVM over SignalR" library described in a previous CodeProject tip, combined with Dynamic LINQ library to do incremental web search by typing the query

Latest Articles

by Zoltán Zörgő
One application, multiple SignalR endpoints with different hubs
by Pusparag Subudhi
Extending SignalR to push EF change notification to connected client applications
by Pusparag Subudhi
A WPF application can be made more interactive and deployment friendly by using SignalR to our advantage. This is Part 1 showing how SignalR can be implemented in a WPF application for two-way communication and synchronization.

All Articles

Sort by Score

SignalR 

18 Sep 2018 by Altaf Ansari
SignalR Real-Time ChatApp with Emoji / Smiley and sending file attachment
20 Dec 2017 by Altaf Ansari
Integration of SignalR with ASP.NET C# WebForm Application in Real-Time Chat Application
16 Jul 2019 by Mustafa Kok
SignalR server and client applications for demonstrating common scenarios like connecting, disconnecting, joining and leaving groups, sending messages to all clients, to specific or group of clients
15 Jul 2017 by dsuryd
Application of "MVVM over SignalR" library described in a previous CodeProject tip, combined with Dynamic LINQ library to do incremental web search by typing the query
14 Apr 2014 by Ondra Morský
Implement NLog logging with SignalR
27 May 2016 by Aless Alessio
Reat time Spreadsheet, updating and retrieving data through a Web Service. Using SQL Server DB.If two or more users are working on the same spreadsheet, they can see what the other users are doing. Mouse pointing is highlighted by filling the cell with diagonal stripes, while data saved is highlight
5 Sep 2016 by PureNsanity
Architecture to support multiple transport and service bus technologies integrated to provide a unified messaging framework to communicate between any platform.
1 Aug 2018 by dsuryd
How to create a powerful reactive form on an ASP.NET Core Razor Page in MVVM style, with field configuration and validations written in C# and communicating with SignalR.
26 May 2013 by Jan_Zimmermann
A log4Net appender with a selfHosting SignalR server.
2 Feb 2015 by Keyhole Software
Real-time website data using SignalR
19 Jul 2020 by Sandeep Mewara
See with a working demo how SignalR works and how it can be used
16 Apr 2014 by Gordon Beeming
Hubs.tt will save your life
22 Sep 2013 by Andreas Gieriet
Do you have a text book or any scripts from your lecture?Lookup the terms there first, then understand the context of the formula, ask your teacher if you have any unclear items. Check the internet for floating point standards, e.g....
3 Jun 2014 by Sergey Alexandrovich Kryukov
Yes, there are some. I would recommend to start withhttp://www.asp.net/signalr[^],http://signalr.net[^].To get some background before getting to it:http://en.wikipedia.org/wiki/Server_push[^],http://en.wikipedia.org/wiki/SignalR[^].This Microsoft article can also be useful:...
24 May 2017 by raddevus
Use SignalR to create a Slideshow app which asynchronously updates all web clients so they see the same slide you are seeing.
13 Oct 2021 by Pusparag Subudhi
A WPF application can be made more interactive and deployment friendly by using SignalR to our advantage. This is Part 1 showing how SignalR can be implemented in a WPF application for two-way communication and synchronization.
30 Jun 2023 by Cameron van Rooyen
Question How do I create the relationship between the support team member and partner user in my chatHub and then save the messages that they have sent to one another in my SQL database. Note, I am using ASP.NET identity framework for my user...
13 Jul 2018 by Tony Girgenti
Hello, I have an Asp.Net Core 2.1, MVC Web application in Visual Studio 2017 15.7.5. I have been trying to figure out how to send a single SignalR string text message to an MVC View.cshtml from the controller method that is invoked from the MVC View using this type of link:...
16 Oct 2013 by Selvakumar Gurusamy
Hi we are developing a web application. In which we are storing values on session for state maintenance. It has users right and window's service connection object etc. Now we are need to update the client from server side. I used DuplexChannelFactory for two way communication with windows...
6 Nov 2013 by Sampath Lokuge
I have written an article about Chat Application with SignalR. It contains Source code also. Check that.Chat Application with SignalR and ASP.net MVC 4I hope this will help to you.
19 Nov 2013 by Anish Jain
Hi Selvakumar Gurusamy, Instead of using session you can use database where you can store Context.ConnectionId for maintaing one to one mapping between client and server along with your data.
9 Dec 2013 by Sergey Alexandrovich Kryukov
Please see my comment to the question.First of all, some background. Let's understand that we have "inverted" problem: the problem of server push is a problem for Web application and not such a big problems if you deal with custom network application. This is because the Web was designed for...
8 Mar 2014 by CHill60
Here are some resources to get you started with Cookieshttp://msdn.microsoft.com/en-us/library/78c837bd(v=vs.100).aspx[^]http://msdn.microsoft.com/en-us/library/aa289495(v=vs.71).aspx[^]and here in CodeProject Cookies in ASP.NET[^]However, I suspect you might want to store a...
18 Apr 2014 by Mahmoud_Mohamed
Hi. I am a new with SignalR .. I would like to develop a solution that have two project one web and other is window. Using SignalR realtime messaging deliver. That enable chatting between the Webform and the Window form and only saving messages in windows. Any Help Smile Like references or ideas...
3 Jun 2014 by HellHotie
i want to create a chat application mainly a chatroom using signalr i searched on google many articles and could make 1 working application but dnt know exactly working of it so i want to learn it from beginners level to somewhat advance level so i can create application on my own by adding more...
3 Jun 2014 by Nirav Prabtani
Tutorial: Getting Started with SignalR 2.0[^]Introduction to SignalR[^]ASP.NET SignalRIncredibly simple real-time web for .NET[^]signalr-chat-example[^]Asp.Net SignalR Chat Room[^]ASP.NET SignalR: Building a Simple Real-Time Chat Application[^]Chat Web Application...
28 Jun 2014 by Abhinav S
Try the following links -Asp.Net SignalR Chat Room[^]Chat Application with SignalR and ASP.net MVC 4[^]ASP.NET SignalR: Building a Simple Real-Time Chat Application[^]
30 Jun 2014 by Sergey Alexandrovich Kryukov
As Tadit Dash noticed, you show some System.NullReferenceException exceptions in your exception stack. But you don't show the lines in the code where the exception is thrown/propagated.Not to worry. This is one of the very easiest cases to detect and fix. It simply means that some...
3 Oct 2014 by BucketheadBrain
Use hubs dude!Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) RouteTable.Routes.MapHubs() End SubPublic Class Notifier Public Sub Notify(message As String) Dim context = GlobalHost.ConnectionManager.GetHubContext(Of...
3 Nov 2014 by Kornfeld Eliyahu Peter
Your last line - to include the hubs - have some errors...1. A syntax error, that can prevent form the browser to even parse this line">2. You handle SignalR/hubs like a folder where it is a file (with dynamic content)...
18 Feb 2015 by Ajeet 75
Demo to show how to use HubName and HubMethodName attributes in SignalR
19 Dec 2016 by Jean-Claude ADIBA
Hi,In the Hub properties you have a Context property and you can access the current user who send the request like this :Int16 userId = Context.User.Identity.Name; This will work fine if you use Forms Authentification Mode to save the connected user ID in your Login method like this...
15 Mar 2017 by Member 11098925
I had the same problem and I fixed it by adding the following code in the Web.config:
6 Jul 2017 by AnvilRanger
There is a comment/question area at the end of the article. That is where you need to ask a question about a specific article. The odds of the author seeing this 4 years after the article was published is very slim.
23 Jul 2017 by Harmen Stoopendaal
See for solution this repo: GitHub - Harmen1969/SignalR-Postgresql-: Real time push notification using SignalR and PostgreSQL[^]
21 Sep 2017 by Richard MacCutchan
What is the best? The one that works for you. This is such a subjective question it is impossible to give a valid answer.
19 Jul 2018 by Vincent Maverick Durano
Quote: I'm pulling the data, but I can't print it Repeater. See if this will work for you: https://www.aspsnippets.com/Articles/Bind-Populate-Repeater-control-with-JSON-object-using-jQuery-AJAX-in-ASPNet.aspx Essentially, Data Representation Control such as Repeater is a Server Control....
11 Aug 2018 by Arsenije Arsenijevic
I know the question is old, but I see it's not answered, just referenced to a working example. You're creating new SqlDependency objects on each call of the GetAllUsers method (which I presume is not called just once) and not stopping the old-ones. This results in multiple SqlDependency objects...
11 May 2020 by Richard Deeming
As the name suggests, the Application_Start event fires when the application starts. It doesn't run again until the application is restarted. It will also potentially run before any user has logged in, which would mean you wouldn't have a cookie...
12 May 2020 by Richard Deeming
That query cannot be used with a SqlDependency: Creating a Query for Notification | Microsoft Docs[^]: Query notifications are supported for SELECT statements that meet the following requirements: … The statement must not contain subqueries… …...
17 Apr 2022 by Pusparag Subudhi
Extending SignalR to push EF change notification to connected client applications
7 Jul 2013 by Amir Jalilifard
As you can see in Facebook's notification system,When an specified change related with your activities happens,Facebook notifies it to you. The important issue is that if we want to use SignalR to send notifications,we have 2 choices:Using the Client side to call a server method who...
1 Aug 2013 by OwlCity
I'm new to signalr. I've got a chat application working but I'll like to pass in parameters in my methods. When I pass parameters in hub, I get detail error:at Microsoft.AspNet.SignalR.Hubs.HubDispatcher.c__DisplayClass13.b__10(IHub emptyHub, Object[] emptyParameters)at...
19 Aug 2013 by Prince Tegaton
Hello Guys,I am running Visual Studio 2010, i installed Nuget and added SignalR to my project.The main problem here is that i cant find SignalR Hub Class in Add New Item dialog, is it that i have to connect to internet and add it to all websites from Nuget always..Help please..
19 Aug 2013 by Musakkhir
There is no need to install that package every time.Download compatible version of SignalR, copy following dll files from package folder which is already installed in your project and copy these files in bin folder of a...
9 Sep 2013 by thatraja
Start from here http://www.asp.net/signalr[^]
22 Sep 2013 by loraloper_22
HelloI have a question about number systems and i am just a begginer who is learning different field of signal/image processing the wuestion is(􀀀1)s  (1 + f )  2^(e-eb) :The format has a word length of q bits, the length of the significand part representingf is k bits, and the bias...
15 Oct 2013 by Selvakumar Gurusamy
Hi I added jquery reference like this in master page...
16 Oct 2013 by Member 10341458
Can seo be possible with signalR based application in mvc4.
16 Oct 2013 by Vinodh.B
Hi The following links may help/guide you for mvc seo . http://quysnhat.wordpress.com/2012/03/14/seo-friendly-urls-in-asp-net-mvc/[^]http://www.macaw.nl/weblog/2013/7/seo-optimizing-your-asp-net-mvc-site-for-google-search-using-meta-properties-robots-txt-and-sitemap-xml[^]
27 Oct 2013 by niralirshah
Hello,Can anyone know how to implement signalR in vs 2012 in asp.net 4.5 ..I have done with loading package of signalR, but not able to connect hub connection...Please help ...thanks a lot in advance..
27 Oct 2013 by Thanks7872
The best ever place SignalR : The Official Microsoft ASP.NET Site[^] and this is what you are looking for ASP.NET SignalR Hubs API Guide - Server (C#)[^]Regards...
10 Nov 2013 by PrakashKJha
I am trying to achieve the functionality in which a change the some field in Db the change reflect in my application.I come to this article http://techbrij.com/database-change-notifications-asp-net-signalr-sqldependencywhen I am trying to subscribing to notification, not able to achieve,...
15 Nov 2013 by ExpertITM
Hello Frnds,I have a wpf application which is running on diffrunt clients pc which get data from a wcf web service.Now when update some data from web service I need to notify that to perticar client.So I need to push data from web service to clientHow can I do this?Thanks in...
17 Nov 2013 by Maciej Los
Please, follow below link, i hope it would be helpful.how to subscribe sql query notification[^]
19 Nov 2013 by Alexanbu
try this link,.it may be helpful for youhttp://www.dotnetcurry.com/ShowArticle.aspx?ID=721[^]
19 Nov 2013 by Sergey Alexandrovich Kryukov
You need to 1) read SignalR documentation, 2) develop your code, 3) ask a questions if you face some problems you cannot resolve.Please see:http://en.wikipedia.org/wiki/Server_push[^],http://en.wikipedia.org/wiki/SignalR[^],http://www.asp.net/signalr[^].—SA
5 Dec 2013 by Arslan Elahi
My Scenerio is that i need a SignalR self Hosted WCF Service that response and sends message to all connected users that came from Winform or WPF.I have tried alot as follows:I have Created WCF service with SignalR Self Hosting code as below which contains 3 Classes and 1...
9 Dec 2013 by Arslan Elahi
Hi guys,i am new in signalR , i have tried and learn from different web sites like github and etc etcBut i couldn't find the solution for my problem.... and now i am getting confused...My problem is:I have developed a Chat app in Winform with Web Services and Centralized Database...
13 Dec 2013 by Abhay Pati Tripathi
I have a social networking website developed in ASP.NET C#. I am using SignalR 2.0 to live update posts of users to all the online users on my website.This website is deployed at to different servers, for desktop users with URL www.xyz.com and for mobile users with URL m.xyz.com.The live...
16 Dec 2013 by Albert Holguin
Your question is too general... there's a huge number of signals that would fit into that spectral mask. Post more specific questions once you get started.So far what you know (from the picture): 0. Signal must be centered at 21MHz (common IF frequency) 1. 3dB bandwidth must be...
14 Jan 2014 by Sampath Lokuge
You can run SignalR on Https.SSL is a host concern, not really related to SignalR.Please check below mentioned links for more info.Hosting SignalR under SSL/httpsSignalR and HTTPSI hope this will help to you :)
17 Jan 2014 by Member 10531730
you can find SignalR Hub Class in Visual studio 2013 only
28 Jan 2014 by Sampath Lokuge
I have written an article about signalR. Please check that for more info.Chat Application with SignalR and ASP.net MVC 4
2 Feb 2014 by lostandconfused1234
I have made a new project and selected individual user accounts authentication and MVC project. Then I went on the home view, deleted all the template information in the main body and added a load of actionlinks with the names of chat rooms I want to implement. They are simply chatroom1,...
18 Feb 2014 by Puthiphorn
I had developed a chat web side by using signalR.My problem is: I don't know how to send the message from one user to a specific user I mean I don't want to broadcast this message to all client!Can anyone help me please? Thank you!
5 Mar 2014 by frostcox
Hey guys I have a problem and i'm hoping someone can point me in the right direction. I want to start using SignalR in my application but when I install the packages from Nuget I get the following error "Could not load file or assembly 'Microsoft.Owin, Version=2.0.1.0" even though I have...
5 Mar 2014 by vsrikanth87
Uninstall the Microsoft.Owin 2.1 & reinstall again by restarting the Visual Studio
5 Mar 2014 by GaneshKale22
Try Thiscopy this Microsoft.Owin, Version=2.0.1.0.dll and paste in you application bin folder. Also check this dll is register or not in GAC.
7 Mar 2014 by frostcox
Hey guys I have a problem which I need a little help with. I have a SignalR web project which I communicate with through a console application. When I run my SignalR Web application locally it works fine without any issues but when I deploy it to IIS and try create the hub proxy I get the error...
7 Mar 2014 by Nishant Khetwani
I have Developed a stock ticker application using SignalR. In this application when user login as "User", he receives live broadcast from Stock Exchange. User Receives all the scripts updates. I want that user can select some scripts(ticker) which he likes (not all scripts ) and when he close...
7 Mar 2014 by PremPatel4209
I have create signalR project which give live broadcast of stock from stock exchange to client (user). So after log in in application as user an application give all stock prices online and that user select their share and show in grid. after that whatever user show on application that...
7 Mar 2014 by PremPatel4209
i try my best but ther is some problem to create text file becuase at my side it take all client information in one text file but my trying is continue.
17 Mar 2014 by kishorebt
guys ive a set of controls which are completely in html. so i want to fetch the value of the one textbox to other page's textbox. i dont wanna use sessions ..egsample1.aspx ...
17 Mar 2014 by RahulMGunjal
use Session Variable or pass it through URL. Referhttp://msdn.microsoft.com/en-us/library/6c3yckfw(v=vs.100).aspx[^]http://www.nullskull.com/a/10400710/eight-different-ways-to-transfer-data-from-one-page-to-another-page.aspx[^]Thanks
21 Mar 2014 by frostcox
Ok I finally found the solution to this. In IIS there is a setting Deny Anonymous users, by default this is set to true. So after I successfully authenticated the console application it worked like a treat.
28 Mar 2014 by Abhinav S
To help you get started with SignalR, here are some links -Introduction to SignalR[^]Persistent long-running connections with SignalR[^]http://channel9.msdn.com/Events/Build/2013/3-502[^]
3 Apr 2014 by Member 10606752
I have create client/sever system with signalR technology and N-tier architech.Client tier is phonejs appThere is work-flow example of register method :client --> hubs --> [business layer] playerManager --> [dataLayer] dataAccessLinQ.I'm confuse that hubs is in presentation or...
8 Apr 2014 by MinChanSike
I have a sample project with SignalR and test for real time information.In my project is entry data from some page and show list data at one page in real time.It okay with SignalR when I use Multiple Form/View ( Entry Form, Listing Form ).But I got issue when I use Single Form/View with...
19 Apr 2014 by Sampath Lokuge
Please read this article.May be helped to you.Good Luck. :)SignalR in Web, WPF, Console and Windows Services App
24 Apr 2014 by oliver grace
When I install signalR using vs 2012 I am getting this error.In vs 2012 ->TOOLS->Library Package Manager ->Package Manager ConsoleUsing this I run this command,PM> install-package Microsoft.AspNet.SignalR,I am getting follwing error.Error:Install-Package : The...
24 Apr 2014 by JoCodes
Refer the similar error resolution visual-studio-2010-nuget-error-the-underlying-connection-was-closed-could-not[^]Could+not+establish+trust+relationship+for+the+SSL+TLS+secure+channel+[^]
29 Apr 2014 by Member 10784917
Hello, I am using Kendo Grid to display events in my project along with server paging. I wish to use SignalR and view the events as and when they occur in the kendo grid without a refresh. I wanted to know if Kendo grid server paging could be used along with SignalR,if yes,please help me with...
7 May 2014 by LGandhi
Can we use asp.net SignalR for controlling remote connected devices (not a computer or mobile just an electronic device having its uniuque mac address) from control server? Server will decide when an alarm is supposed to ring from the device and if user not responded to the alarm then the device...
8 Jun 2014 by vdgood
I've written a tutorial to make simple webforms and winforms C# chat app work with signalR. You can read it here Simple realtime chat app using ASP.Net signalR and Winforms C#[^]Hope it can help.
13 Jun 2014 by Peter Yohanes
Hi, Can someone suggest me some .net development code for Real time updates in gridview? I have one gridview in my webform. If i upload file in fileupload to sqlserver, my gridview from another computer or another browser then my current browser will automatically refresh with the changes....
13 Jun 2014 by DamithSL
check below linkshttp://sylvester-lee.blogspot.com/2014/03/aspnet-signalr.html[^]ASP.NET MVC, SignalR, and Knockout based real time UI syncing - For co-working UIs and continuous...
13 Jun 2014 by Nirav Prabtani
you can use Timer to refresh griview at specific time period.. :)C# Timer[^]Auto Refresh GridView using SqlCacheDependency and Toolkit’s Timer.[^]Delay Load (Lazy Load) UpdatePanel using Timer Control in ASP.Net[^]Auto Refresh Update GridView In Asp.Net Ajax With Timer[^]How...
13 Jun 2014 by Peter Leow
Check these out:1. ASP.NET MVC, SignalR, and Knockout based real time UI syncing - For co-working UIs and continuous clients[^]2. Real time notifications with SignalR & KnockOutJS[^]3. Browser Alerts with ASP.NET 4.5 and SignalR[^]
14 Jun 2014 by Peter Yohanes
I want to update my gridview in other browser when i upload file in current browser..i use signalR to implement that.. here is my source code.. here is my NotificationHub.vbImports System.WebImports Microsoft.AspNet.SignalRNamespace SignalRChat Public Class NotificationHub ...
30 Jun 2014 by Member 10914331
I developed the Signalr Chat Application. The Chat Application is running individually but when i added it to the existing ASP.net Application with the Master Pages it Stopped working.Below is the code snippet:SignalR Chat not working with the existing WebApp. Please help me with the...
3 Jul 2014 by oliver grace
Dear Friends,I am using signal R for notification in this i am using the following scriptscript src="js/jquery-1.9.1.js"> /signalr/hubs"> but, i am getting the...
15 Jul 2014 by Mohammed_Faisal_Majeed
Hello Friends, I am developing application using SignalR which gives login details of users who logged in and logged out. When user is logged in i am saving username and logged_in_time in database and when they logged out, i am updating it. Now i need to display in Admin login...