Data Annotations vs FluentValidation in .NET — Which to Use When
Every API needs validation. The title can't be empty, the rating has to be between one and ten, the email has to look like an email. Simple rules.
What isn't simple is where to put them.
I've used thr
ammitt.hashnode.dev6 min read