Javascript signalR webworker

Walter Grimm | Q-Auditors 1 Reputation point
2021-06-02T14:17:35.39+00:00

Hi,

I have two selfhosted SignalR Net (no core) server. The c# clients are working fine in two threads.

The JS client works fine in the main thread.

My JS client will need to connect to 2+ servers. To ensure a smooth working experience, I would also like to run one webworker thread for each connection.

I have tried and searched for solutions to run the SignalR client in the webworker threads. Due to the Jquery issue this does not work.

I have tried to solve this with the NPM package with the Jquery shim, but did not get it running.

I am please looking for a way to have simple JS imports into the webworker for SR client and maybe the shim, to run the SR client.

I please don't want to add any NPM etc packages, just import the required JS files into the webworker thread.

This has been haunting me for some time now,

would someone PLEEEAAASSSE be so kind to help me with this,

thanx

Walter

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
0 comments No comments
{count} votes