All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

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 article
12y agoen

You 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

codewithmukesh.com·1mo ago

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

bbb.dev·8d ago

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

codewithmukesh.com·1mo ago

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

Packetlabs·3y ago

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.

cekrem.github.io·16d ago

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.

cekrem.github.io·16d ago

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

ShortSingh·1d ago

Comments

Sign in to join the conversation.

No comments yet. Be the first.