Making A WebSocket Server With .NET 8🧑‍💻 [FULLSTACK 2024 VIDEO 1]

  Рет қаралды 14,536

Alex's Dev Den 👨‍💻

Alex's Dev Den 👨‍💻

Күн бұрын

Пікірлер: 14
@oliverager7448
@oliverager7448 11 ай бұрын
Great new video keep up the good work
@StackOverflowMan
@StackOverflowMan 9 ай бұрын
Why do you choose Flesk? Agree, API looks clearer than for System.Net.WebSockets, but maybe that abstraction level leaks?
@BillionaireDegenApeClub
@BillionaireDegenApeClub 3 ай бұрын
SignalR !?
@gustavogomes5797
@gustavogomes5797 Ай бұрын
Great video!
@cungthanhlaptrinh
@cungthanhlaptrinh 3 ай бұрын
Good
@CodingByAmp
@CodingByAmp 6 ай бұрын
How to bordcast all client
@alexdevden
@alexdevden 6 ай бұрын
In short, if you have a List connections, you can iterate over this list and send to each like this: foreach (var connection in connections) { var string = "hello world"; connection.Send(message); }
@guillermomazzari8320
@guillermomazzari8320 10 ай бұрын
Nice vid, could I stablish a ws connection to my database and update the Ui in real time when something changes in the database? for example, If I call data form a table of people, where I have john, Mary and Laura and I am seeing this list in my frontend ui, but someone else deletes Laura in another browser, will I see that change on my browser immediately? without having to refresh or make a new request to the data base?
@alexdevden
@alexdevden 10 ай бұрын
Hey, thank you! There are DBMS's that support listening for database changes and can emit events for this use case. For instance, this repo: github.com/supabase/realtime uses Postgres and Websockets to achieve this effect.
@guillermomazzari8320
@guillermomazzari8320 10 ай бұрын
@@alexdevden I was looking into signalR what are your thoughts on it?
@alexdevden
@alexdevden 10 ай бұрын
SignalR doesn't use generic websockets since they try to "build on top of" websockets. That means you need a dedicated SignalR client. It's kind of the same deal with Socket.IO. I prefer to use open standards and protocols rather than technologies that lock you in to specific SDKs @@guillermomazzari8320
@guillermomazzari8320
@guillermomazzari8320 9 ай бұрын
@@alexdevden Thanks for your answer! It is very helpful
@BillionaireDegenApeClub
@BillionaireDegenApeClub 3 ай бұрын
umm....... why are we not using SignalR here ?! And I'm sorry... but Angular 🤮 lol. Nice tutorial tho - gets the point across. Maybe you can add a SignalR w/ Lit js lib and Typescript next!
Event-Driven Architecture For Websockets With .NET 8 & C# 🛠️ [FULLSTACK 2024 VIDEO 2]
23:56
Don't Use Polly in .NET Directly. Use this instead!
14:58
Nick Chapsas
Рет қаралды 71 М.
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 135 МЛН
Build a Real-Time WebSocket Application
8:55
Deno
Рет қаралды 8 М.
Forget Controllers and Minimal APIs in .NET!
14:07
Nick Chapsas
Рет қаралды 76 М.
What even is NodeJS and npm? [+ Creating a Vite App with npm]
16:39
Alex's Dev Den 👨‍💻
Рет қаралды 333
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 258 М.
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 84 М.
Don't Use Websockets (Until You Try This…)
6:46
Code With Ryan
Рет қаралды 321 М.
The Simplest Vertical Slice Architecture With .NET 8
13:04
Milan Jovanović
Рет қаралды 23 М.
Are we going back to PHP with fullstack JavaScript?
9:57
Maximilian Schwarzmüller
Рет қаралды 153 М.
Realtime Chatrooms💬: Stateful WebSocket APIs with .NET 8 & C# [FULLSTACK 2024 VIDEO 3]
21:55