.NET 7 Blazor 🔥 Component Communication (Parameters, EventCallbacks & States/Services)

🚀 Join the .NET Web Academy: learn.dotnetwebacademy.com
💖 Support me on Patreon: / _patrickgod
🚀 Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com
🐦 Let's get social on Twitter/X: / _patrickgod
🔗 Let's connect on LinkedIn: / patrickgod
💻 GitHub: github.com/patrickgod/DotNet7...
💡 Udemy Online Courses:
🔥 Blazor E-Commerce Course: www.udemy.com/course/blazor-e...
🔥 Blazor Bootcamp: www.udemy.com/course/blazor-w...
🚀 .NET Jumpstart Course: www.udemy.com/course/net-core...
Table of Contents:
00:00 .NET 7 Blazor 🔥 Component Communication
00:10 Parent to Child
05:19 Child to Parent
08:37 State Container / Service
#PatrickGod #Blazor #DotNet

Пікірлер: 21

  • @PatrickGod
    @PatrickGod Жыл бұрын

    🚀 Join the .NET Web Academy here: www.dotnetwebacademy.com/courses/academy?coupon=dnwapreytbcc

  • @ruslan_yefimov
    @ruslan_yefimov5 ай бұрын

    2-way communication between components in blazor is so much better than in react.. I don't think I'm ever gonna be using React again, lol

  • @brunosallesdev
    @brunosallesdev Жыл бұрын

    Great content! As .NET developer, rather Blazor. Congratz!

  • @PatrickGod

    @PatrickGod

    Жыл бұрын

    Thank you! 😊

  • @CRBarchager
    @CRBarchager Жыл бұрын

    Excellent explaination of the topics. I've used all the methods explained in the video before but never the Service/state combo but already found examples where this could come in handy. Thank you for sharing.

  • @PatrickGod

    @PatrickGod

    Жыл бұрын

    Glad I could help! Thanks for your feedback! 😊

  • @PragmaticProgramma
    @PragmaticProgramma Жыл бұрын

    Fantastic... Thanks Patrick!

  • @PatrickGod

    @PatrickGod

    Жыл бұрын

    My pleasure! Glad you enjoyed it! 😊

  • @auriculardigital
    @auriculardigital4 ай бұрын

    Great topic! Excellent examples

  • @guillermomazzari8320
    @guillermomazzari832011 ай бұрын

    Thanks a lot! I was really looking for this, needed to close a modal on a parent component from its child, this worked like a charm!

  • @PatrickGod

    @PatrickGod

    11 ай бұрын

    Awesome! Glad I could help. 😊

  • @wealthgenerationstrategies
    @wealthgenerationstrategies5 ай бұрын

    Hey Patrick, have you ever done videos that focus on the nuts and bolts around the service/state in blazor? You touched a lot of topics in the last min or so on services and I'd love to know more about it 😜

  • @wiepcorbier
    @wiepcorbierАй бұрын

    Thanks 😊

  • @PatrickGod

    @PatrickGod

    Ай бұрын

    You're welcome! 😊

  • @lucademarco5969
    @lucademarco5969 Жыл бұрын

    Great choice of names! The last of us is wonderful!

  • @PatrickGod

    @PatrickGod

    Жыл бұрын

    Indeed! So glad you saw the reference. 😊

  • @luisfernandodeolazabalsche3317
    @luisfernandodeolazabalsche3317 Жыл бұрын

    Gracias ;-)

  • @jasonbaum3325
    @jasonbaum33253 ай бұрын

    This is helpful, but how would the parent communicate "down" to child? Also, how could a child use the parent to relay a message to a sibling without going the service and message/subscriber route?

  • @minhphong5418
    @minhphong54185 ай бұрын

    Hi guys, I am exactly following the tutorial from the beginning to 8:31 but I failed to make childText change from "nothing" to "Say Hi" after clicking the button. Have anyone had this problem and solved it? I am using .NET 8.0. Thank you in advanced

  • @abdulrahmanalduraiweesh5120
    @abdulrahmanalduraiweesh51209 ай бұрын

    Hello, can anyone direct me to where I can see an example of someone transporting information from dynamically created components to the parent component. I am going to experiment using the message service described here but I was wondering if there was a confirmed way to do it or a way via event call backs etc. The catch is there is going to be multiple dynamically created components and some of them are the same type.

  • @leftjabrighthook

    @leftjabrighthook

    3 ай бұрын

    you have to use a message bus like ComponentBus