IntelliTect / IntelliTect.AspNetCore.SignalR.SqlServer

A Microsoft SQL Server backplane for ASP.NET Core SignalR.
Apache License 2.0
36 stars 5 forks source link

Mixing with .NET Framework #3

Closed rossiter10 closed 2 years ago

rossiter10 commented 2 years ago

Hi!

So I'm trying to sort of mix this package for a .NET 6 site (API) with an older .NET Framework site (UI). I'm trying to use this backplane with the .NET 6 site, and that classic Microsoft.AspNet.SignalR.SqlServer backplane for the .NET Framework site.

So my first question is even if I could get the table names to match with both libraries, would I be able to insert messages from the .NET 6 site and have my .NET Framework site read and process them correctly, given that the core SignalR libraries are different? I know some docs say you can't mix versions of the server and client, but I feel like this scenario is more like mixing two versions of the servers and trying to share the same database backplane. (Edit: Eh, I guess it's the same as mixing server and client)

Thanks!

ascott18 commented 2 years ago

No, you cannot do that. The data is entirely incompatible between SignalR Core and Classic SignalR, independent of the choice of backplane - the two versions of SignalR represent messages significantly differently. On top of that, the way that data is encoded into the SQL Server tables is also entirely different between the two implementations of the SQL Server backplane.

rossiter10 commented 2 years ago

Thanks for your quick response!