In my project with .net 8 SignalR is used for data streaming using websockets.
Some time ago I created a prototype of solution using the package Microsoft.AspNetCore.SignalR. However this is announced as deprecated. In my code I was using etc. hubs, which are part of the mentioned package. Alternatively hubs are also available in Microsoft.AspNet.SignalR.Core, which is maintained but it targets older .net versions and I think it does not provide the same functionality, although things are called in very similar way.
My concern is to use the deprecated package in new project also due to potential vulnerabilities.
This rather a bit older post suggests to reference Microsoft.AspNetCore.App, because it includes the functionalities of deprecated SignalR package, but the Microsoft.AspNetCore.App is deprecated itself.
What I seek is the solution which library should I use, to reference a maintained package in my project in order to keep the functioanlity with hubs and low latency web socket communication. I am rather not experienced developer so I appreciate feedback on this or info if my concern is real or what I missed in my understanding.
Thank you!
Microsoft.AspNetCore.App.Ref, ie ASP.NET Core itself. You'll have to change the ASP.NET Core version all the way back to ASP.NET Core 2.2 to seeMicrosoft.AspNetCore.SignalR.Core