It seems that you will have a customer (A) that will connect for example to 14H00. Another client (B) will send a message on the server for example at 15H00. What do you want to do and send information on client A, to inform that you have a new message.
It’s impossible to be sure that this will work. Why?
1) Between customer’s Connection A at 14H00 and the moment vc will send a message 15H00, client A can change IP
2) If the client has 2 computers, a router and a modem, when the server will save the IP, it will not save the client’s IP, but the router’s IP. You can do the following test: put on your site a page that shows the IP, connects with a computer of your network and then with another of the same network and you will see that from the point of view of the server the two have the same IP.
When we create a CHAT for example, it has the same problem: show to client A, messages from client B, C etc...
The Signalr can be used, but not as you think. You say "How do I send a notification with Signalr to that particular client (based on login Identity)?" which means you think you’re the server that’s gonna call client A.
Not possible (unfortunately)
Actually with Signalr, vc will determine the time of the call. And the client A that will have to call the server (for example every 5 seconds). Then the server will know who "calls" and will give the right answer.
You can take a look here:
http://www.asp.net/signalr/overview/getting-started/tutorial-high-frequency-realtime-with-signalr
You can also take a look here:
https://github.com/JabbR/JabbR
In the Scripts folder you have jquery.signalR-2. 2.0-pre-140709-b104. js (lines 694 and following to understand the principle).
You have already set up a Hub to communicate the user?
– Leonel Sanches da Silva
Man, know Pusher? is a service that, let’s say, outsources it to you, I have a post about him. The cool thing is that you make the account in the Pusher service, create a channel and an event, download their api, and on one side trigger the event and on the other, the page, registers via javascript the event, very cool. http://wp.me/p2AWkc-7y
– Aldo Costa Santos