SignalR version compatability (StatusCode: 405 'Method Not Allowed')

前端 未结 1 784
滥情空心
滥情空心 2020-12-07 01:26

I\'m having issues with a SignalR project I\'m currently working on. I\'m trying to build a server using .Net Core, and a client using traditional .Net (framework 4.6.1). Ho

相关标签:
1条回答
  • 2020-12-07 02:04

    You can't mix the .NET Core 1.x with the older client (1.x or 2.x). You will need to decide which is the best option for you but you need to implement the same compatible version across CLIENT and SERVER.

    Check the link for more details but essentially:

    What’s Changed?

    We added a number of new features to SignalR for ASP.NET Core but we also decided to remove support for some of the existing features or change how they work. One of the consequences of this is that SignalR for ASP.NET Core is not compatible with previous versions of SignalR. This means that you cannot use the old server with the new clients or the old clients with the new server.

    0 讨论(0)
提交回复
热议问题