How can I make it work an Attribute validator that has herency from ValidationAttribute?
In an web application made with .NET 8 and C#, my attribute validator that has heritage with ValidationAttribute is not working, when I put a breakpoint, the class is never called.
I will show you an example:
The next code is the attribute validator for a key attribute: