Blazor Component Communication & State Handling

  Рет қаралды 7,812

Claudio Bernasconi

Claudio Bernasconi

Күн бұрын

State handling is a common problem. It doesn't matter what kind of application; sooner or later, you want the different parts of your application to talk to each other.
In this video, I want to show you a simple way for parent-child communication, an option for component hierarchies, and a more complex solution for advanced state handling in Blazor web applications.
Event Callbacks (Calling a Method on a Parent Component)
Cascading Values (Building a Component Hierarchy)
State Container (Advanced App State Handling)
00:00 Introduction
00:37 Event Callbacks
02:34 Cascading Values
04:17 State Container
06:52 Conclusion
🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
claudiobernasconi.ch/dotnet-c...
📌 .NET Developer Roadmap
claudiobernasconi.ch/learn-do...
📌 KZbin Playlists:
The FREE Blazor Crash Course: • The FREE Blazor Crash ...
C# Programming: • How to Create Modern C...
📋 Source Code
github.com/claudiobernasconi/...
✍ Video Links
docs.microsoft.com/en-us/aspn...
chrissainty.com/3-ways-to-com...
✅ SUBSCRIBE FOR MORE VIDEOS
Subscribe: 🔔 claudiobernasconi.ch/Subscribe
🚀 CONNECT & SUPPORT
Twitter: / chbernasconic
Blog: claudiobernasconi.ch
Newsletter: claudiobernasconi.ch/newsletter
CREDITS
🎵 www.bensound.com/
* Affiliate Link: I earn a small commission at no additional cost

Пікірлер: 15
@ivanryakhov300
@ivanryakhov300 3 жыл бұрын
Thanks for the great state management review, Claudio! I think, this is a perfect starting point to explore and investigating which kind is more appropriate for a target task.
@ClaudioBernasconi
@ClaudioBernasconi 3 жыл бұрын
Thanks for leaving those kind words here.
@MarkInChicago
@MarkInChicago 2 жыл бұрын
Terrific video! Professionally done and with clear easy to follow examples. Thanks!
@ClaudioBernasconi
@ClaudioBernasconi 2 жыл бұрын
Thanks a lot, Mark!
@chezchezchezchez
@chezchezchezchez 2 жыл бұрын
tried cascasing values for the 1st time today! Very cool! Solves a problem I had
@ClaudioBernasconi
@ClaudioBernasconi 2 жыл бұрын
I'm glad it helped you. Thanks for leaving your comment.
@luissalinas1471
@luissalinas1471 2 жыл бұрын
Thanks for the video, it was very helpful, clear and concise, statecontainer had not understood it until now
@ClaudioBernasconi
@ClaudioBernasconi 2 жыл бұрын
Glad it was helpful!
@amarendhiran
@amarendhiran 3 жыл бұрын
Thanks for the great insight
@ClaudioBernasconi
@ClaudioBernasconi 3 жыл бұрын
Thanks for your comment. 🙂
@NAEL4SLR
@NAEL4SLR Жыл бұрын
That was pretty helpful. Thanks a lot!
@ClaudioBernasconi
@ClaudioBernasconi Жыл бұрын
Thank you, Nael! 🙂
@dalechester5271
@dalechester5271 2 жыл бұрын
At 4:55 Should I use EventCallback instead of Action?
@ClaudioBernasconi
@ClaudioBernasconi 2 жыл бұрын
I took this from an older Microsoft documentation example. I think the favorite way of doing bindings is now to use EventCallback or EventCallback in most cases. Sorry for the late response.
@enetstudio4176
@enetstudio4176 3 жыл бұрын
Are you interested in getting help and private lessons via email in exchange for a small donation to a charitable organization ? You may find my email address in the stackoverflow site under the profile for the "enet" user.
Introduction to Blazor Server
12:17
Claudio Bernasconi
Рет қаралды 4,4 М.
8 Free and Open Source Blazor UI Libraries
9:42
Claudio Bernasconi
Рет қаралды 35 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 9 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН
.NET 8 | What is Native AOT in .NET?
13:33
Claudio Bernasconi
Рет қаралды 9 М.
A Developer's Guide to SAML
27:47
OktaDev
Рет қаралды 173 М.
Question - 15 | SQL Interview Questions | SQL Server
6:36
.NET 8 | Everything you NEED to KNOW!
9:04
Claudio Bernasconi
Рет қаралды 24 М.
Intro to Amazon EMR - Big Data Tutorial using Spark
22:02
jayzern
Рет қаралды 18 М.
AWS DynamoDB Tutorial For Beginners
38:12
Be A Better Dev
Рет қаралды 328 М.
What is RabbitMQ?
10:10
IBM Technology
Рет қаралды 308 М.
What is ServiceNow? (A Hands-on ServiceNow Tool Demo)
35:45
ServiceNowSimple
Рет қаралды 112 М.