分步构建: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.