如何使用ASP.NET Core(Websockets)進行簡單的實時聊天



訂閱:http://bit.ly/ChapsasSub
在GitHub上贊助我:http://bit.ly/ChapSupport

大家好,我是Nick,今天我將向您展示如何使用ASP.NET Core和websockets創建一個簡單的聊天室。

Github倉庫:https://github.com/Elfocrash/PewChat

隨時歡迎提出建議!

不要忘了發表評論,喜歡和訂閱:)

社交媒體:
在GitHub上關注我:http://bit.ly/ChapsasGitHub
在Twitter上關注我:http://bit.ly/ChapsasTwitter
在LinkedIn上連接:http://bit.ly/ChapsasLinkedIn

19 comments
  1. Hey man!
    Tnx for the tutorial!
    Is this "websocketManager" package works on IIS ?
    I want my server app to run on iis
    But when I changed the settings to run on "IIS Express", it didnt worked…

  2. great tutorial, I just subscribed to the channel it's worth it! one question, how do I add security to this chat model? interested to know if I can deploy to azure and make it secure like a token.-Thanks!

  3. its awesome but how can i open chat between admin and user

    and make the admin the only one who can write a msg to user

    and user just can check the msg

  4. Thank you for this lesson. But a word of advice: next time please zoom in on the text editor a bit, it's very hard to see the code you're typing, especially on mobile.

  5. will be cool if u create video tutorial
    with
    login form
    register form
    admin panel – for control user
    and chat

    something like "whatsapp or viber …" on .net core 2

  6. Very nice video tutorial, man…
    Thanx!!!
    If I may suggest, a chat room like application, where there are multiple websocket connections, could be a step further… And perhaps with enabling user IDs, registrations etc…

Comments are closed.