7.2 How to Create a WebSocket Client in C# - Fun with WebSockets!

preview_player
Показать описание
In this video, I explain how to write a simple WebSocket client in C# using the WebSocketSharp library.

This video is part of the series "Fun with WebSockets! 🌐🔌", taught by @garciadelcastillo on @ParametricCamp.

Remember to subscribe and turn notifications on to receive alerts for new streams and content! 😄

Follow:
Рекомендации по теме
Комментарии
Автор

after 2 hours trying of different approaches your solution is WORKing for me, thank you!

alexvetrov
Автор

I'm doing my senior thesis (real time chat) and you helped me a lot with understanding WebSockets. Thank you from all of my heart <3

ArconWell
Автор

The best coding explanation ever, the way you break down the smaller concepts makes it super easy. Thanks for sharing.

criptovida
Автор

awesome video Luis! I love your english and the way you explain everything.

damiancalderon
Автор

Thank you thank you thank you !! I cannot tell you how many hours I've spent looking for a websocket client example in C#. This video is just what I needed to get started, and I followed your example to the letter with the exception that I wanted to use a wss:// stream, and it works great! I've subscribed and will be checking all the related videos. Big thanks again!

btc
Автор

Sir, you are a life saver. I am working on a project for a client and they require something very similar to this.

harryminnie
Автор

It helped me a lot not only to implement WS server and client, but also to understand these principles in general. Big thanks to you!

yamz
Автор

Thanks brother, greatings from Dominican Republic

MessingWithCode
Автор

You are really perfect man, you saved me from my nightmares

azizkale
Автор

Exactly what I was looking for and presented excellently. Thank you!

TeemoPwnstar
Автор

You know, I read somewhere "“Simple is power. Simplicity comes out from the synthesis of experience and wisdom. Simple is natural, easy, nice, unpretentious.”
: By Alex Rovira" . Your teaching style is wonderful. Thank you.

a.porteghali
Автор

Amazing tutorial, simple and straight forward. Now, I am having deficulty streaming using "auth token"

manuprakash
Автор

This is what I was looking for... THANK YOU SO MUCH!!

dantedev
Автор

🎯 Key Takeaways for quick navigation:

00:00 📚 The video teaches how to create a WebSocket client in C# to connect to a WebSocket server and exchange information.
01:58 📦 The "WebSocketSharp" library simplifies WebSocket communication in C#, making it easier to work with web sockets.
03:25 🛠️ The library can be added via NuGet, simplifying the process of incorporating external dependencies into a project.
07:46 📡 The video demonstrates connecting the WebSocket client to a server and sending/receiving messages.
12:12 🔄 Utilizing event handlers in C# allows efficient handling of WebSocket client events like receiving messages from the server.

Made with HARPA AI

DeepakPal-sysp
Автор

Awesome video, i really enjoyed this video.

theemerson
Автор

Is this code will work if the client is windows service bcs I am able to send message from windows service to websocket server but unable to receive data from server to client written in windows service

madhusoodhanan
Автор

I enjoyed in watching this tutorial, thanks.

sekmanimohamedamine
Автор

Thanks, What if i need to make a secure connection over TLS?

chenhanxue
Автор

Sir Please suggest any video for secure web socket as a server in C#.

HimanshuSharma-fsxb
Автор

can you tell which library is better websocket-sharp or websocket4net both performance and stability wise?

mukeshmohanty
visit shbcf.ru