What is SignalR?

Source: Internet
Author: User

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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.