Server:
IIS ASP.Net Core 8.0,
Microsoft.AspNetCore.SignalR 1.1.0,
Microsoft.AspNetCore.SignalR.Core 1.1.0,
Angular,
Javascript successfully connected SignalR to server.
Client 1:
IIS ASP.NET 4.8,
Microsoft.AspNetCore.SignalR.Client 8.0.0.0,
Microsoft.AspNetCore.SignalR.Client.Core 8.0.0.0,
successfully connected SignalR to server.
Client 2:
Windows C# Desktop UI App .NET Framework 4.8,
Microsoft.AspNetCore.SignalR.Client 8.0.0.0,
Microsoft.AspNetCore.SignalR.Client.Core 8.0.0.0,
Failed connected SignalR to server.
Connection = new HubConnectionBuilder()
.WithUrl("http://localhost/QMOSRFactor/rfactor",
options => {
options.Transports = HttpTransportType.WebSockets;
})
.WithAutomaticReconnect()
.Build();
after call: await Connection.StartAsync(); nothing happened. No error in Visual Studio Output. No exceptions.
If I wrappered the above code in netstandard2.0 library. Reference this library in Client 2 project. Same nothing happened. No error in Visual Studio Output. No exceptions.