Reputation: 1837
I have ASP.NET Core 2.2 app that hosts SignalR hub. I would like to use my WPF application (.NET Framework 4.7.2) to connect this hub. If I add NuGet package Microsoft.AspNetCore.SignalR.Client then I have many DLL files inclued into application references. Adding Microsoft.AspNet.SignalR.Client is much more cleaner but I cannot use it for connection. Is there a workaround for this?
Upvotes: 0
Views: 1126
Reputation: 1439
You cannot use the ASP.NET CORE SignalR (Hub or Client) with the ASP.NET SignalR (Hub or Client). You have to use a CORE client to connect to a CORE hub.
You are probably getting a 405 method not allowed error when you try.
See my response here that references the documentation.
SignalR version compatability (StatusCode: 405 'Method Not Allowed')
Upvotes: 1