ProfessionalCSharp7 icon indicating copy to clipboard operation
ProfessionalCSharp7 copied to clipboard

update SignalR samples to .NET Core 2.1

Open christiannagel opened this issue 6 years ago • 6 comments

update the SignalR samples to the release of .NET Core 2.1

christiannagel avatar May 11 '18 12:05 christiannagel

bonus chapter 3, directory SignalRAndWebHooks

christiannagel avatar May 11 '18 12:05 christiannagel

updated with commit a437d20fd7048da2a2b7628356fb9aa4e811f3b7

christiannagel avatar May 27 '18 10:05 christiannagel

Hi Christian, great example! Is it right that the string "EOS" can not be part of a message? So, if I want to send all sort of text maybe binary then I have to escape my control characters? Or is there another way?

GreenEyedAndy avatar Jun 01 '18 15:06 GreenEyedAndy

@GreenEyedAndy - where do you have the information about the EOS string from? As part of the communication it shouldn't be an issue to send this string.

christiannagel avatar Jun 18 '18 18:06 christiannagel

@christiannagel - no you missunderstood me. In your example you use ;EOS as the end of sequence marker. I just want to ask how you handle the situation if a chatclient is sending the following text: 'I own the following cars a VW;EOS a VOLVO;V90 and a MERCEDES;VITO'. Sure it is a bit constructed, but you see a chatclient can not send any text!

GreenEyedAndy avatar Jun 19 '18 19:06 GreenEyedAndy

@GreenEyedAndy - you're right. I totally forgot the EOS in the sample. The sample is probably too simplified. As I'm updating the SignalR sample and the downloadable PDF file, I'm also updating this in the sample code by sending a different message.

christiannagel avatar Jun 20 '18 07:06 christiannagel