.NET 8 Blazor New Forms Functionality Explained

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • Blazor 8 Introduces improved Server Side Rendering for Blazor Forms components. This video explains how to implement Forms with Validation that will function without the use of Blazor Server Interactive Rendering or WebAssembly.
    This video also discusses the new Enhanced Form functionality that results in no full page refreshes for form submission even when using Server Side Rendering.
    If you are a beginner or experienced with Blazor this video is for you.
    (This is a re-upload with fixed audio)
    00:00 Intro
    01:00 Demo
    02:43 Source Code Explanation Beginning
    04:15 Model Class
    05:37 Form Input Components
    10:34 Custom Validation Attributes
    15:06 Additional Validation
    17:18 Enhanced Form Feature
    19:40 Enabling Interactivity
    Source Code available here: github.com/codingwithtom1/Bla...
  • Věda a technologie

Komentáře • 11

  • @charliehager5458
    @charliehager5458 Před 5 měsíci +5

    Kind of interesting that we can now code like it was 1995 all over again! Just a lot faster, smarter and without the flicker!!! I was trying to figure out how to get dropdowns (and listboxes) to be responsive using pure static side rendering your code example and explanations were very helpful. Thanks!

  • @coconut7991
    @coconut7991 Před 4 měsíci +1

    Well explained, Thanks. Tom

  • @ShindaWawa_
    @ShindaWawa_ Před 6 měsíci

    Happy 1k! 🎉🥳

  • @cjt9150
    @cjt9150 Před 5 měsíci

    Good work. Can you please create a video for custom authentication with cookie/local storage/session storage & without identity

  • @BenShemmeld
    @BenShemmeld Před 6 měsíci +3

    Nice video! But there is a simpler way to provide the options for the select list:

    @foreach (Option o in pizzasizes)
    {
    @o.Display
    }

    • @Coding_with_Tom
      @Coding_with_Tom  Před 6 měsíci

      Nice that’s definately a better way to do to it - thanks!

    • @dtsai
      @dtsai Před 4 měsíci

      Thanks. How about a dropdown with checkboxes like Excel filters?

    • @TheLastEmperorXiXinPig
      @TheLastEmperorXiXinPig Před 3 dny

      Great stuff. But just double checking one question, the @code section in blazor runs on the server right? So it's secure to handle sensitive data here.

  • @TellaTrix
    @TellaTrix Před 6 měsíci +3

    I have a suggestion. Could you please increase the volume of your audio? The video quality is fine, but the audio is quite low and I’m having difficulty hearing it. Thank you.

  • @jimmcneal
    @jimmcneal Před 6 měsíci +1

    Now I'm wondering if most non-wizard coders are all secretly thinking about opening a 🍕 shop😂

  • @heididaniels277
    @heididaniels277 Před 25 dny

    Good explanation but I am getting an error when I run your code: Error RZ9985 Multiple components use the tag 'InputText'
    Any Ideas?
    Thank you