Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I haven't used it but basically it's a "real time" communication technology for communicating between the client (javascript, silverlight, .NET) and ASP.NET. Currently there are 3 methods for "real time" communication (think chat application): polling, long polling, and HTML5 WebSockets. SignalR adds an abstraction layer and leverages all 3 of these methods depending on browser support and context. Here's an article describing the 3 methods (and how SignalR helps): <a href="http://blog.maartenballiauw.be/post/2011/11/29/Techniques-for-real-time-client-server-communication.aspx" rel="noreferrer">http://blog.maartenballiauw.be/post/2011/11/29/Techniques-for-real-time-client-server-communication.aspx</a></p> <p>And here's an article from Hanselman (and a functioning demo!) on how to use it: <a href="http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx" rel="noreferrer">http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx</a></p> <p>Another: <a href="http://jordanwallwork.co.uk/2011/10/signalr/" rel="noreferrer">http://jordanwallwork.co.uk/2011/10/signalr/</a></p> <p>A Hub is a class used for the communication. In javascript you can use a hub like this:</p> <pre><code>$(function() { var myConnection = $.connection.myHub; $.connection.hub.start(); }); </code></pre> <p>In ASP.NET you do this:</p> <pre><code>public class Chat : Hub { public void Distribute(string message) { Clients.receive(Caller.name, message); } } </code></pre> <p>Both of those snippets were taken from the links referenced above.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload