none
WCF duplex chat application -> integrate some metadata automatically RRS feed

  • Question

  • Hello!

    Few years ago, when I started to learn WCF I found a great Chat application tutorial (it might be video tutorial).
    I don't know the author, but I think it was "Chad" or something like that.

    I remember that author showed a cool feature where he automatically integrate username into message it was send when user login.

    At first he is using method like:
    client.Login("Username 1", "Hello message");

    after some modification the client just called client.Login("Hello message") and "Username 1" was automatically collected and integrated in the message. The server side then picked up "username 1" from the message and add it to the dictionary (clients list).

    Btw. That example went even further and implement discovery service.

    What technique he used?

    Someone knows where is the tutorial (sample code)

    Thanks

    Tuesday, February 25, 2020 8:41 AM

All replies