Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SignalR .NET Client doesn't support WebSockets on Windows 7

I've written a small echo-server (.net 4.5), console client (.net 4.5) and web client using SignalR and example presented here.

Server is hosted in IIS8/Win8. Then I ran both clients on Win7. and I see that web client in Chrome uses webSockets, while console app client uses serverSentEvents. If I run console client on Win8, then webSockets transport is in use.

Is it true that SignalR .NET client will use webSockets only on Win8 and higher?

like image 240
Max Viazovskyi Avatar asked Mar 13 '13 13:03

Max Viazovskyi


People also ask

Does SignalR require WebSockets?

ASP.NET Core SignalR is a library that simplifies adding real-time web functionality to apps. It uses WebSockets whenever possible.

What platform does SignalR client supports?

Windows Desktop and Silverlight Applications In addition to running in a web browser, SignalR can be hosted in standalone Windows client or Silverlight applications.

Does SignalR work with .NET framework?

NET Standard 2.0 client library that can be used to connect to a SignalR hub from applications built on . NET Core, . NET Framework, and more. To use the SignalR client library, import the Microsoft.

Do people still use SignalR?

SignalR is relevant for now, it supports mobile devices, and many other things. SignalR is the same WebSocket but with many ready stuff. You can use raw WebSocket instead of it, but you will have to do many things to gain what you want. So SignalR is more easy to use.


1 Answers

It's correct: .NET client uses WebSockets only on Win8 and higher.

like image 62
Gustavo Armenta Avatar answered Oct 02 '22 01:10

Gustavo Armenta