EF Core State Validation
A guide to implementing custom state validation for entities in EF Core using Data Annotations to catch errors before saving.
A guide to implementing custom state validation for entities in EF Core using Data Annotations to catch errors before saving.
Explores entity validation in .NET 10, covering the Data Annotations API, common attributes like Required and MinLength, and recent changes.
ASP.NET Core 10.0 introduces built-in validation support for Minimal APIs, covering route parameters, query strings, headers, and request bodies.
Explains how to use data annotation validation for incoming models in ASP.NET 10 Minimal APIs, highlighting differences from Controllers.
Explains how to use a single shared RESX file for localizing data annotation error messages across multiple view models in ASP.NET Core 2.0.
A guide to implementing custom field ordering in ASP.NET MVC 2 templated helpers using a custom OrderAttribute and metadata provider.