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.
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
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.
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
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.
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.
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.
Thank you for this video. Anyone who watches would go from zero to hero in less than 15 minutes!
Great, thats what we like to hear!
This was a great intro into using FluentValidation. I had no idea this even existed but will be using it in future projects now.
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
Finally i got someone who teaches with a great example the use os When statement, thank you, new sub!
Thank you for this nice video. Clear voice, excellent pacing, good examples, good length of the video. Subbed.
Thanks for the nice feedback and the sub Jorn!
Thank you for the video, going through the logic and testing using postman.
Great video, thanks for the tutorial!
Glad it was helpful!
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!!
Wow, thank you for your nice comment, it means so much for us to hear 🙏 You’re most welcome!
thank you, really helpful information and the way you presented it was very good
Thanks, Glad it was helpful!
honestly I'm prefer fluentvalidation than model validation
thanks roberts !
You’re most welcome 😊
Very good explaination. I think I'll give this a try on my current projects.
thanks Rob, we love you
great explanation mate and I like the animations for the good quality video!
Thanks a lot!
great demo ! valuable content ! many thanks sir
Great video, Awesome stuff, very well explained 👍
very Simple and helpfull video .. thanks Sir..
You're most welcome
Pretty helpful. Thank you!
Great one, thanks
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.
I like your video, It's super awesome. Thank you
Thanks Adedayo 🙂
Thank you very much indeed
You're most welcome
Cool!
Excellent
which layer should we put our fluentvalidation validator classes?
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..
simple and best
How to set focus to the first invalid element?
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.
That’s good to know Steven, thanks. Did you find a workaround?
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
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
Thanks for the awesome video tutorial.
How to validate the model using FluentValidation if a user disabled the JavaScript from the browser settings?
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.
great tutorial Robert.
Please remove the background music.
It's not needed. :-)
Thanks Nitin, glad you found it useful ☺️
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.