SignalR
{{Short description|Software library for ASP.NET}}
{{Use mdy dates|date=November 2023}}
{{Infobox software
| name = SignalR
| screenshot =
| caption =
| author = David Fowler and Damian Edwards
| developer = Microsoft
| released = {{Start date and age|2013|02|18}}
| latest release version = 2.4.3
| latest release date = {{Start date and age|2022|01|14}}
| programming language = C#
| operating system = Microsoft Windows
| platform = .NET Framework,
.NET
| genre = Event-driven networking
| license = Apache License 2.0
| website = {{URL|https://dotnet.microsoft.com/en-us/apps/aspnet/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.
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.{{cite web| url=http://blogs.msdn.com/b/webdev/archive/2012/12/17/signalr-building-real-time-web-applications/|title=SignalR: Building real time web applications|publisher=Microsoft MSDN|author=Gustavo Armenta Valdez |date=December 17, 2012}}
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.{{cite book|author=Daniel Mohl|title=Building Web, Cloud, and Mobile Solutions With F#|url=https://books.google.com/books?id=dZrslEoAb58C&pg=PA105|access-date=February 4, 2013|date=December 28, 2012|publisher=O'Reilly Media, Inc.|isbn=978-1-4493-3376-8|pages=105–}}{{cite book|author1=Alex Mackey|author2=William Stewart Tulloch|author3=Mahesh Krishnan|title=Introducing .NET 4.5|url=https://archive.org/details/introducingnet450000mack|url-access=registration|access-date=February 4, 2013|date=October 10, 2012|publisher=Apress|isbn=978-1-4302-4332-8|pages=[https://archive.org/details/introducingnet450000mack/page/143 143]–}}
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 management, such as connect/disconnect events, grouping connections, authorization.
See also
References
{{Reflist}}
Further reading
- {{Cite book|author-first=Jose M.|author-last=Aguilar|title=SignalR Programming in Microsoft ASP.NET|year=2014|publisher=Microsoft Press|isbn=978-0735683884}}
- {{Cite book|author-first=Roberto|author-last=Vespa|title=SignalR Realtime Application Cookbook|year=2014|publisher=Packt Publishing|isbn=978-1783285952}}
External links
- {{Official website}}
- {{GitHub|SignalR/SignalR}}
- [https://docs.microsoft.com/en-us/azure/azure-signalr/ Azure SignalR Service]
{{Microsoft FOSS}}
Category:Microsoft application programming interfaces
Category:Microsoft free software
Category:Software using the Apache license
Category:Windows-only free software
{{compu-library-stub}}
{{free-software-stub}}
{{network-software-stub}}