FluentValidation for Powerful ASP.Net Core Model Validation | Tutorial

  Рет қаралды 22,891

Roberts Dev Talk

Roberts Dev Talk

Күн бұрын

Пікірлер: 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 жыл бұрын
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!
@laczikmarton2745
@laczikmarton2745 4 ай бұрын
Great video, thanks for the tutorial!
@RDT
@RDT 4 ай бұрын
Glad it was helpful!
@theoriginalstove6675
@theoriginalstove6675 3 жыл бұрын
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 жыл бұрын
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!
@fadidib8516
@fadidib8516 3 жыл бұрын
Thank you for the video, going through the logic and testing using postman.
@jornaggror
@jornaggror 3 жыл бұрын
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!
@80amnesia
@80amnesia 2 жыл бұрын
thanks Rob, we love you
@danurarya0823
@danurarya0823 11 ай бұрын
thank you, really helpful information and the way you presented it was very good
@RDT
@RDT 11 ай бұрын
Thanks, Glad it was helpful!
@EnriqueMartinezInter
@EnriqueMartinezInter 3 жыл бұрын
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!
@MiceDevelopment
@MiceDevelopment 3 жыл бұрын
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.
@9t4j
@9t4j 2 жыл бұрын
great demo ! valuable content ! many thanks sir
@theITvideos
@theITvideos 2 жыл бұрын
great explanation mate and I like the animations for the good quality video!
@RDT
@RDT 2 жыл бұрын
Thanks a lot!
@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
@adedayoakerele8443
@adedayoakerele8443 2 жыл бұрын
I like your video, It's super awesome. Thank you
@RDT
@RDT 2 жыл бұрын
Thanks Adedayo 🙂
@nipundesilva9306
@nipundesilva9306 2 жыл бұрын
Excellent
@AshrafSada
@AshrafSada 3 жыл бұрын
Thank you very much indeed
@RDT
@RDT 3 жыл бұрын
You're most welcome
@stevenkjames
@stevenkjames 2 жыл бұрын
Cool!
@mognomoinak1309
@mognomoinak1309 3 жыл бұрын
simple and best
@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.
@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..
@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.
@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 жыл бұрын
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
@stevenfarkas881
@stevenfarkas881 3 жыл бұрын
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?
@erictenwestenend868
@erictenwestenend868 2 жыл бұрын
How to set focus to the first invalid element?
@nitinmistry6280
@nitinmistry6280 3 жыл бұрын
great tutorial Robert. Please remove the background music. It's not needed. :-)
@RDT
@RDT 3 жыл бұрын
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.
Model Validation | Validation Attributes vs. FluentValidation | .NET 6
27:11
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Make Your Business Rules Cleaner With Fluent Validation
15:14
Milan Jovanović
Рет қаралды 31 М.
Secure a .NET Core API with Bearer Authentication
1:06:56
Les Jackson
Рет қаралды 191 М.
USA Olympiads || All Solutions || #maths
10:35
Learn with Christian Ekpo
Рет қаралды 144
Intro to MediatR - Implementing CQRS and Mediator Patterns
1:21:50
IAmTimCorey
Рет қаралды 231 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 30 М.