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

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 25

  • @PatrickGod
    @PatrickGod  2 ปีที่แล้ว +2

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

  • @brunosallesdev
    @brunosallesdev 2 ปีที่แล้ว +5

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

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      Thank you! 😊

  • @guillermomazzari8320
    @guillermomazzari8320 ปีที่แล้ว +2

    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  ปีที่แล้ว +1

      Awesome! Glad I could help. 😊

  • @CRBarchager
    @CRBarchager ปีที่แล้ว +1

    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! 😊

  • @ruslan_yefimov
    @ruslan_yefimov ปีที่แล้ว +5

    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

  • @MEIYANG-sj2sb
    @MEIYANG-sj2sb หลายเดือนก่อน +1

    thank you so much!

  • @PragmaticProgramma
    @PragmaticProgramma 2 ปีที่แล้ว +1

    Fantastic... Thanks Patrick!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      My pleasure! Glad you enjoyed it! 😊

  • @lucademarco5969
    @lucademarco5969 2 ปีที่แล้ว +3

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

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      Indeed! So glad you saw the reference. 😊

  • @auriculardigital
    @auriculardigital 11 หลายเดือนก่อน

    Great topic! Excellent examples

  • @remomagalhaes4707
    @remomagalhaes4707 3 หลายเดือนก่อน +1

    Thanks a lot

  • @ruaha-x
    @ruaha-x 6 หลายเดือนก่อน

    You are amazing!

  • @wealthgenerationstrategies
    @wealthgenerationstrategies ปีที่แล้ว

    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 8 หลายเดือนก่อน +1

    Thanks 😊

    • @PatrickGod
      @PatrickGod  8 หลายเดือนก่อน

      You're welcome! 😊

  • @minhphong5418
    @minhphong5418 ปีที่แล้ว +1

    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

    • @Jaz-jazin
      @Jaz-jazin หลายเดือนก่อน +1

      same here, after using " @rendermode InteractiveServer " in the Index.razor it works for me

  • @luisfernandodeolazabalsche3317
    @luisfernandodeolazabalsche3317 2 ปีที่แล้ว +1

    Gracias ;-)

  • @UnconventionalPotato
    @UnconventionalPotato ปีที่แล้ว +1

    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 10 หลายเดือนก่อน +1

      you have to use a message bus like ComponentBus

  • @jasonbaum3325
    @jasonbaum3325 10 หลายเดือนก่อน

    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?