Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is SignalR possible without jQuery?

Tags:

Can TypeScript only be used to create SignalR web apps, or do we have to use jQuery? Or is there a TypeScript version of SignalR?

like image 956
uSeRnAmEhAhAhAhAhA Avatar asked Sep 17 '13 23:09

uSeRnAmEhAhAhAhAhA


People also ask

What does SignalR use?

SignalR uses Web socket technology to send data. WebSocket is a new HTML5 API that enables bidirectional communication between the browser and server but if it is not available then SignalR can use other technologies like long polling.

Which package is used for SignalR?

SignalR. Client NuGet package contains the . NET client libraries for ASP.NET Core SignalR. Use the HubConnectionBuilder to create and build an instance of a connection to a hub.

Is SignalR real-time?

SignalR is fast and scalable Like the rest of ASP.NET, SignalR was built for high performance and is one of the fastest real-time frameworks around. Scale out across servers with built-in support for using Redis, SQL Server, or Azure Service Bus to coordinate messages between each instance.

What platform does SignalR client support?

SignalR can be used in the following browsers: Microsoft Internet Explorer versions 8, 9 and 10. Modern, Desktop, and Mobile versions are supported. Mozilla Firefox: current version - 1, both Windows and Mac versions.


2 Answers

SignalR has a dependency on JQuery therefore it is required that you use it.

However, there is an issue filed on the SignalR source GitHub page to re-write the JS client without the JQuery dependency.

https://github.com/SignalR/SignalR/issues/372

like image 137
N. Taylor Mullen Avatar answered Sep 20 '22 17:09

N. Taylor Mullen


I made this based on react-native-signalr but without adding jQuery to window object https://github.com/DVLP/signalr-no-jquery

like image 31
Pawel Avatar answered Sep 20 '22 17:09

Pawel