Original address: HTTP://WWW.ASP.NET/SIGNALR/OVERVIEW/GETTING-STARTED/INTRODUCTION-TO-SIGNALR
ASP. SignalR is a library for ASP. NET developers, simplifying the process of adding live Web functionality to an application. Real-time web functionality is the ability to have server code push content to the connection client immediately available, rather than the server waiting for the client to request new data.
then SignalR can be added to an ASP. NET application in any form of "live" web functionality. While chatting is often used as an example, you can do a whole lot more. Any time the user refreshes the Web page, they can see the new data, or the page implements a long poll to retrieve the new data, so SignalR is a candidate. Examples include dashboard monitoring applications, collaborative applications (such as simultaneous editing of documents), work progress updates, and real-time forms.
then SignalR also makes the new type of Web application require high frequency updates on the server, for example, real-time gaming. for a good example, see SHOOTR Games.
then SignalR provides a simple API to create a server-to-Client remote procedure Call (RPC) that calls JavaScript functions in the client browser (and other client platforms) from server-side. NET code. The SignalR also includes APIs for connection management (for example, connection and disconnection events) and packet connections.
then SignalR automatically handles connection management and allows your broadcast information to be passed to all connected clients simultaneously, like a chat room. You can also send a message to a specific client. the connection between the client and the server is persistent like a classic HTTP connection, re-established for each communication.
Then SignalR supports the "Server Push" feature in which server code can invoke client code to the browser that uses remote procedure call (RPC) instead of the common request-response model on the web today.
then the SignalR application can scale to thousands of clients using service Bus, SQL Server, or Redis.
then SignalR is open source and can be accessed via GitHub .
What is SignalR?