FluentValidation for Powerful ASP.Net Core Model Validation | Tutorial

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

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

  • @ivangutowski-smith6514
    @ivangutowski-smith6514 หลายเดือนก่อน

    This was actually a really good video, cause the example was simple enough to understand but complex enough for you to show different examples.
    When learning new things, if there are too many new terms our mind switches off.. so you included just enough info without it being overwhelming.

  • @sridharsathya8719
    @sridharsathya8719 3 ปีที่แล้ว +4

    Thank you for this video. Anyone who watches would go from zero to hero in less than 15 minutes!

    • @RDT
      @RDT  3 ปีที่แล้ว

      Great, thats what we like to hear!

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

    This was a great intro into using FluentValidation. I had no idea this even existed but will be using it in future projects now.

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

      Thanks! Glad it was useful to you. Yeah I never liked using the attribute validation and was looking for something similar to Joi in Node and found this, so glad I did

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

    Finally i got someone who teaches with a great example the use os When statement, thank you, new sub!

  • @jornaggror
    @jornaggror 3 ปีที่แล้ว +4

    Thank you for this nice video. Clear voice, excellent pacing, good examples, good length of the video. Subbed.

    • @RDT
      @RDT  3 ปีที่แล้ว

      Thanks for the nice feedback and the sub Jorn!

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

    Thank you for the video, going through the logic and testing using postman.

  • @laczikmarton2745
    @laczikmarton2745 4 หลายเดือนก่อน +1

    Great video, thanks for the tutorial!

    • @RDT
      @RDT  4 หลายเดือนก่อน

      Glad it was helpful!

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

    Your videos are amazing!! I was looking for some studying material for this very subject and I got it in 13 minutes!! Thank you so much!!

    • @RDT
      @RDT  3 ปีที่แล้ว

      Wow, thank you for your nice comment, it means so much for us to hear 🙏 You’re most welcome!

  • @danurarya0823
    @danurarya0823 11 หลายเดือนก่อน +1

    thank you, really helpful information and the way you presented it was very good

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

      Thanks, Glad it was helpful!

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

    honestly I'm prefer fluentvalidation than model validation
    thanks roberts !

    • @RDT
      @RDT  3 ปีที่แล้ว

      You’re most welcome 😊

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

    Very good explaination. I think I'll give this a try on my current projects.

  • @80amnesia
    @80amnesia 2 ปีที่แล้ว

    thanks Rob, we love you

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

    great explanation mate and I like the animations for the good quality video!

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

      Thanks a lot!

  • @9t4j
    @9t4j 2 ปีที่แล้ว

    great demo ! valuable content ! many thanks sir

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

    Great video, Awesome stuff, very well explained 👍

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

    very Simple and helpfull video .. thanks Sir..

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

      You're most welcome

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

    Pretty helpful. Thank you!

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

    Great one, thanks

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

    Excellent tutorial. Guessing it's still work with .Net 6/7, no no Minimal Api. Secondly, what is the name of the theme? Looks nice.

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

    I like your video, It's super awesome. Thank you

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

      Thanks Adedayo 🙂

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

    Thank you very much indeed

    • @RDT
      @RDT  3 ปีที่แล้ว

      You're most welcome

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

    Cool!

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

    Excellent

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

    which layer should we put our fluentvalidation validator classes?

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

    I need some way to package my the error message(s) in a response model, do you have a resource I can look up?
    NB. I am not using mediatr..

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

    simple and best

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

    How to set focus to the first invalid element?

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

    Step for including fluent validation in Startup.cs has no equivalent in Blazor WebAssembly Program.cs. Usually, I can get around with builder.Services.AddScoped Nevertheless, there is no such object as AddController() in the builder.Services available in Program.cs.

    • @RDT
      @RDT  3 ปีที่แล้ว

      That’s good to know Steven, thanks. Did you find a workaround?

  • @emiliowildberger7151
    @emiliowildberger7151 3 ปีที่แล้ว

    Thank you very much, how to deserialize the json result of the validation in the frontend c#, I just pretend to show the errors, one at a time

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

      Hi Emilio, if your front end is C# you could use a library like Newtonsoft.Json or the newer Microsoft System.Text.Json library to deserialize the JSON straight into an object

  • @Tamer_Ali
    @Tamer_Ali 3 ปีที่แล้ว

    Thanks for the awesome video tutorial.
    How to validate the model using FluentValidation if a user disabled the JavaScript from the browser settings?

    • @RDT
      @RDT  3 ปีที่แล้ว

      Glad you enjoyed the video TamerAli 🙂 This should all be done server side in your validation middleware, so would be unaffected by settings in the browser.

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

    great tutorial Robert.
    Please remove the background music.
    It's not needed. :-)

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

      Thanks Nitin, glad you found it useful ☺️

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

    Coming from python C# sure looks old fashioned, verbose and wordy.. (Perhaps how a C# dev sees C code.) FastAPI + pydantic makes all this trivially simple in far less code. Great video otherwise! Easy to follow and learn from.