ProfessionalCSharp7
ProfessionalCSharp7 copied to clipboard
update SignalR samples to .NET Core 2.1
update the SignalR samples to the release of .NET Core 2.1
bonus chapter 3, directory SignalRAndWebHooks
updated with commit a437d20fd7048da2a2b7628356fb9aa4e811f3b7
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 - 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 - 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 - 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.