Can you write an MetadataAttribute

Aug 12, 2013 at 9:25 AM
Hi,

A good idea could to implement an MetadataAttribute like <ValidateAntiForgeryToken()> that automatically check for valid captcha text.

A better idea is to set the modelstate.isvalid to false and integrate with client side (unobtrusive) validation typical for .net MVC.