.NET 7 Blazor 🔥 New & Improved Data Binding

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

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

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

    The @bind:after and @bind:event sure makes it easier to read than what we had before like @oninput="@(EventCallback.Factory.CreateBinder(this, newValue => MyMethod(newValue), string.Empty))"

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

    I really look forward to these new features because currently I have to do a lot of work-arounds e.g. call methods in setter-methods in order to get a similar functionality without too much effort. I am using MudBlazor and if you want to listen to change-Events (e.g. disable buttons when select-input changes) you have to override the "bind-value"-property (because that calls on-value-changed as well) and handle all the logic yourself which is pretty tedious and kinda unnecessary.

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

    I remember having to deal with the old binding mechanics two years ago, barely getting it to work and it felt like a mess
    Now I'm back to Blazor, and just at the perfect time it seems. This works like a charm. Thank you!

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

      Most welcome! Glad I could help. And thanks a lot for your feedback! 😊

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

    Thanks!

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

    I really want to use Blazor WASM in production, but it can’t allocate large chunks of memory. You receive a runtime exception that, I believe, has existed for years in mono.

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

    What about real multithreading in .net 7 Blazor WASM? Do we get it finally??

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

    Maybe its because of a new update or something but
    his doesnt work with a eventcallback, i used a Action instead and called InvokeAsync(StateHasChanged) manauly to update the table

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

    Usually it is a good idea *not* to call the method on every input but use a debounce to only call the method after you stop typing. Otherwise you will be doing a lot of useless api calls.

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

      True - but not the point of the video.

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

    Amazing!! Shame we only upgrade to LTS 🙁 gotta wait till .net8

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

    Hi,
    Could you please a make a video on blazor empty solutions and create a layout and use it(please create a custom layout)

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

    In the production ready version of NET7 AT THIS END OF THE YEAR THIS DOES NOT WORK.

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

    love this channel ❤

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

    thanks for the video

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

    Brilliant, thanks!

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

    I love you so much ❤

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

    do less )

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

    missed some blazor playground vids :3

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

    If someone has a problem with @bind:after="Search" where it gives an error. Use these package references instead. [Sorry for bad, pronunciation, am not a native speaker of English]

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

    Hello, Thanks for the wonderful tutorial. I drop a message for you on Twitter and email Please respond accordingly