TL;DR: .NET 11 lets DataAnnotations rules await things. Derive from AsyncValidationAttribute, or implement IAsyncValidatableObject, and call Validator.TryValidateObjectAsync. .NET 11 is a release candidate right now: go-live licensed, but not final yet. The line nobody wants to touch "Is this email already taken?" is a validation rule. It is also... Weiterlesen: Stop Blocking on the Database Inside IsValid. .NET 11 Validates Async
Intelligence View
⚡ tsecurity.de Intelligence
Stop Blocking on the Database Inside IsValid. .NET 11 Validates Async
TL;DR: .NET 11 lets DataAnnotations rules await things. Derive from AsyncValidationAttribute, or implement IAsyncValidatableObject, and call…
Intelligence Digest — kostenlos Täglich die wichtigsten Security-News · jederzeit abbestellbar