分步構建:WebSockets與SignalR。您應該使用哪個?



在本視頻中,我們構建了2個單獨的聊天應用程序,一個使用WebSockets,另一個使用SignalR,允許您比較方法並確定哪種方法最適合您。在這兩種情況下,我們都使用C#、. NET Core和JavaScript來構建它們。您還將了解以下內容:

-.NET Core請求管道
-請求代表
-.NET中的非同步編程(非同步/等待)
-依賴注入簡介

隨附的文章(包括所有提及的參考文獻和文​​章的所有鏈接)可以在以下網址找到:https://dotnetplaybook.com/

齒輪
—-
我使用以下工具創建了此視頻(我為此付出了自己的代價!):

-我的相機:https://amzn.to/2W4ULRc
-廣角鏡頭:https://amzn.to/2FfEDGK
-USB3擴展塢:https://amzn.to/2T7T2IY
-存儲卡:https://amzn.to/2TKVLxf
-Lavalier Mic:https://amzn.to/2FcfdbM
-視頻編輯:https://amzn.to/2FhKL1j
-生產力:https://amzn.to/2Ckywza

注意:如果您單擊上面的任何鏈接後選擇從Amazon購買商品,我可能會收取少量傭金。

13 comments
  1. as someone who is kind of new to .NET Core (coming from a Unity3D background) , this is was the best explanation i found of middlewares , just very clear and straight to the point. thnx for the high quality video

  2. hello les I really need your help here…can you provide how to do this exact same things in asp .net mvc web api.. this is for .net core and i am doing my project in web api.. if you provide me how to do the signalR in web api it would be a big help for me ..

  3. Thanks a lot! Can i ask question? I wanna create video conference on web rtc. What do you think which technology i have choose? (websockets or signalr) thank you in advance!

  4. The intro track makes me think of a slowed down version of "Geography 1" by Front 242. I prefer the sped-up version of you writing code to a cut & paste approach.

Comments are closed.