Data Annotations vs FluentValidation: Which should you use?

  Рет қаралды 675

Round The Code

Round The Code

Күн бұрын

Пікірлер: 4
@VC-dm7jp
@VC-dm7jp 21 күн бұрын
This is a really great explanation
@fishzebra
@fishzebra 21 күн бұрын
Should a request dto make a Db call to see if User exists? I think request dtos should do more basic validation and then User exists is handled by the domain service, of course it works either way, but I think request dtos and domain logic easily gets tangled
@phw1009
@phw1009 22 күн бұрын
I really like the fact that FluentValidation is truly 'Fluent'.
@guswind4636
@guswind4636 22 күн бұрын
I do like Fluid Validation as it consolidates all validations for your data models but at the same time nothing prevents another developer from adding a Data Annotations validation and that does not sounds clean anymore
how Google writes gorgeous C++
7:40
Low Level
Рет қаралды 915 М.
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 10 МЛН
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 79 МЛН
Your website does not need JavaScript - Amy Kapernick - NDC Oslo 2024
43:37
Use HttpClient the correct way to avoid socket exceptions
9:25
Round The Code
Рет қаралды 1,1 М.
Forget Controllers and Minimal APIs in .NET!
14:07
Nick Chapsas
Рет қаралды 72 М.
Are you prepared for your next .NET interview?
10:12
Round The Code
Рет қаралды 614
Model Validation | Validation Attributes vs. FluentValidation | .NET 6
27:11
TCP/IP for Programmers
3:03:31
Eli the Computer Guy
Рет қаралды 197 М.
ASP.NET Core 8 Web API in Clean architecture from scratch
2:12:25
Fullstack Dev
Рет қаралды 25 М.
The Alternative to Deleting Data in .NET
11:11
Nick Chapsas
Рет қаралды 37 М.
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57