Trigger IValidatableObject.Validate When ModelState.IsValid is false
I recently came across an ASP.NET MVC issue at work where the validation for my Model was not firing correctly. The Model implemented the IValidatableObject interface and thus the Validate method…
Read the full articleYou might also wanna read
Validation with MediatR Pipeline Behavior and FluentValidation in .NET 10
Validate MediatR commands centrally in the pipeline with FluentValidation and IExceptionHandler in ASP.NET Core .NET 10 - clean handlers, on
How to validate .NET configuration on startup to prevent runtime errors
Learn how to validate .NET configuration on startup using data annotations or FluentValidation, so your app fails fast and never ships with
FluentValidation in ASP.NET Core .NET 10 - Beyond Data Annotations
Data Annotations fall apart on complex rules. Use FluentValidation 12 in ASP.NET Core .NET 10 - endpoint filters, async validators, custom r
Input Validation on Client-Side or Server-Side?
Input validation on web applications is a critical control that should not be overlooked. Should input validation be performed on the client
Applying the Parse-Don't-Validate Principle in TypeScript: Making Illegal States Unrepresentable
Applying Alexis King's parse-don't-validate principle in TypeScript, where the type system fights back just enough to be annoying.
Applying the Parse-Don't-Validate Principle in TypeScript: Making Illegal States Unrepresentable
Applying Alexis King's parse-don't-validate principle in TypeScript, where the type system fights back just enough to be annoying.
How a Zod Validation Layer Prevents AI Agents from Corrupting Production Databases
AI agents that extract or parse data often produce inconsistent outputs, such as mismatched date formats, hallucinated JSON keys, and empty

Comments
Sign in to join the conversation.
No comments yet. Be the first.