Dec 16, 2017 09:45 PM|mjl001|LINK
I have a .Net Core SignalR server and UWP application that successfully pushes a JSON formatted string to an UWP client.
I have in the same solution, using the same .dll as the UWP application a Xamarin Forms app. It has the SignalR Xamarin Forms Nuget package installed. The UWP and Xamarin app both consume a .Net Standard 2 .dll that handles all of the interaction with the
The UWP app works perfectly, but when I make exactly the same call with exactly the same parameters, the SignalR client-side code in the Xamarin App throws an internal exception:
An exception was thrown from the 'Received' event handler. System.FormatException: Messages over 2GB in size are not supported
There are 15 fields in the JSON structure and it is all values like integer, bool and double. There are also a couple of short strings that are no longer than a dozen or so characters each. The size of the entire JSON structure is will under 1K.
A possible cause might be the fact that I am using some nullable types like int?, and bool?
I can supply the full error stack if it helps. I didn't include it in this message because of its size.
Does anyone have any ideas?