.NET 11 adds async validation to DataAnnotations
.NET 11 introduces AsyncValidationAttribute, IAsyncValidatableObject and Validator.TryValidateObjectAsync, letting validation rules await database calls without blocking threads. The APIs arrived in Preview 6, and RC2 shipped on October 13, 2026 with a go-live license.
- AsyncValidationAttribute and IAsyncValidatableObject allow awaits inside validation rules
- TryValidateObjectAsync checks properties concurrently: two lookups took 608 ms
- validateAllProperties still defaults to off, same as the sync API
- RC2 shipped on October 13, 2026; the release is not final yet
Read next
Software