Would you recommend creating custom validation attribute (inherits from the IClientValidatable and ValidationAttribute) ?
Basically, we would place these custom attributes over properties in the application layer on the DTOs. These attribute would point to a javascript file on the Web layer that implements the rule via jquery.validator.unobtrusive.adapters.
If we go through with this, where would you recommend we place these custom annotations class? They will both validate information on the application layer and on the web layer.
Thanks in advance