Building Real-Time Web Applications with Blazor and Akka.NET
Вставка
- Опубліковано 25 чер 2024
- When it comes to real-time Web UIs, the possibilities are endless for .NET users:
- A live dashboard?
- Multi-player games?
- Live chat?
- Collaboration tools?
- Video and audio streaming?
And more! In this talk we're going to present on how we can use Akka.NET and Blazor to build scalable, streaming web applications without JavaScript or any fuss. Pure C# end to end.
DrawTogether.NET Sample: github.com/petabridge/DrawTog...
Learn Akka.NET: learnakka.net/
0:00 - Introduction
2:35 - Table of Contents
6:14 - Traditional Web UIs
7:37 - Real-Time Web UIs
9:54 - One Way Interactivity
14:05 - Two Way Interactivity
15:54 - Demo - Multi-Player MS Paint
19:27 - Rendering Real-Time Updates in Blazor
23:37 - Blazor Render Modes in .NET 8
27:16 - Loading Initial UI Snapshot
36:23 - Streaming Updates in Blazor
39:16 - Local vs. Global State
40:12 - Why Actors for State?
44:26 - Why Akka.NET?
46:42 - State Model
50:06 - Source of Truth State
51:27 - Local State
57:05: - Client - Server Sync
59:55 - Local Publishing
1:01:13 - Local Debouncing & Publishing
1:02:51 - Source of Truth Receiving
1:03:12 - Demo: LocalDrawingSessionActor
1:11:12 - Subtle Things to Bear in Mind
1:15:36 - Conclusion - Наука та технологія
Very nice