I am working on ASP.NET Core2.1. I implemented a SignalR Core Client in asp.net core. I want to build the connection between SignalR Core Client and a SignalR Hub (i.e. AspNet.SignalR). Is there a way can fix the issue?
Unfortunately, this is not supported. Either change the server to use this library, or implement a client from this repo https://github.com/SignalR/SignalR
Thanks for your help. Because the client is another server for an SPA. I use asp.net core to build the server. In this situation, may I use AspNet.SignalR.Client in ASP.NET Core 2.1?
Is the web server using ASP.NET Core 2.1? If yes, then you can use Microsoft.AspNetCore.SignalR.Client.
If the web server is using Microsoft.AspNet.SignalR (Full Framework), then you need Microsoft.AspNet.SignalR.Client.
I hope this helps.
The web server using ASP.NET Core 2.1. The server needs to handler the HTTP Request from the front-end (i.e. web application). The server also needs send the message to another server which uses Microsoft.AspNet.SignalR.Client. I used Microsoft.AspNetCore.SignalR.Client, but it did not work. May I use Microsoft.AspNet.SignalR.Client in a ASP.NET Core 2.1 Web server and connect another server which uses Microsoft.AspNet.SignalR.Client.
May I use Microsoft.AspNet.SignalR.Client in a ASP.NET Core 2.1 Web server and connect another server which uses Microsoft.AspNet.SignalR.Client.
Do you mean the other server is running the ASP.NET SignalR server (Microsoft.AspNet.SignalR)? Yes, that should work fine. The ASP.NET SignalR Client (Microsoft.AspNet.SignalR.Client) supports .NET Standard, so it will run fine inside an ASP.NET Core application.
As @ralsu091 said, ASP.NET SignalR (Microsoft.AspNet.SignalR.*) and ASP.NET Core SignalR (Microsoft.AspNetCore.SignalR.*) are not compatible with each other, but the clients should work in any .NET Core or .NET Framework application (including ASP.NET Core), as long as you're talking to a server running the matching version.
Hi,
I need a bit of help. Im developing a rest API in .NET Standard (4.5) with AspNet.SignalR.
Is there any chance that i can connect with that rest API from a react client with this dependency?
I dont get to find a good signalr standard client for react . . .
The only JavaScript client for ASP.NET SignalR is the signalr NPM package which is a global jQuery plugin. It should work with React just fine, but it does require jQuery as well.
Please note that this repository is for ASP.NET Core SignalR. Issues related to ASP.NET SignalR should be filed at https://github.com/SignalR/SignalR.
Thanks. I was only asking because i dont get jQuery to work properly in my project, but seems like its the only way...
We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.
Most helpful comment
Do you mean the other server is running the ASP.NET SignalR server (
Microsoft.AspNet.SignalR)? Yes, that should work fine. The ASP.NET SignalR Client (Microsoft.AspNet.SignalR.Client) supports .NET Standard, so it will run fine inside an ASP.NET Core application.As @ralsu091 said, ASP.NET SignalR (
Microsoft.AspNet.SignalR.*) and ASP.NET Core SignalR (Microsoft.AspNetCore.SignalR.*) are not compatible with each other, but the clients should work in any .NET Core or .NET Framework application (including ASP.NET Core), as long as you're talking to a server running the matching version.