SignalR
SignalR is a free and open-source software library for Microsoft ASP.NET that allows server code to send asynchronous notifications to client-side web applications. The library includes server-side and client-side JavaScript components.
Original author(s) | David Fowler and Damian Edwards |
---|---|
Developer(s) | Microsoft |
Initial release | 18 February 2013 |
Stable release | 2.4.1
/ April 2, 2019 |
Repository | |
Written in | C# |
Operating system | Microsoft Windows |
Platform | .NET Framework |
Type | Event-driven networking |
License | Apache License 2.0 |
Website | signalr |
Details
ASP.NET SignalR is a library for ASP.NET developers to add real-time web functionality to their applications. Real-time web functionality is the ability to have server-side code push content to the connected clients as it happens, in real-time.[1]
SignalR takes advantage of several transports, automatically selecting the best available transport given the client's and server's capabilities. SignalR takes advantage of WebSocket, an HTML5 API that enables bi-directional communication between the browser and server. SignalR will use WebSockets under the covers when it's available, and gracefully fall back to other techniques and technologies when it isn't, while the application code remains the same.[2][3]
SignalR also provides a simple, high-level API for doing server-to-client RPC (call JavaScript functions in a client's browser from server-side .NET code) in an ASP.NET application, as well as adding useful hooks for connection management, such as connect/disconnect events, grouping connections, authorization.
See also
References
- Gustavo Armenta Valdez (December 12, 2012). "SignalR: Building real time web applications". Microsoft MSDN.
- Daniel Mohl (28 December 2012). Building Web, Cloud, and Mobile Solutions With F#. O'Reilly Media, Inc. pp. 105–. ISBN 978-1-4493-3376-8. Retrieved 4 February 2013.
- Alex Mackey; William Stewart Tulloch; Mahesh Krishnan (10 October 2012). Introducing .NET 4.5. Apress. pp. 143–. ISBN 978-1-4302-4332-8. Retrieved 4 February 2013.
Further reading
- Aguilar, Jose M. (2014). SignalR Programming in Microsoft ASP.NET. Microsoft Press. ISBN 978-0735683884.
- Vespa, Roberto (2014). SignalR Realtime Application Cookbook. Packt Publishing. ISBN 978-1783285952.