4 Dec 2013 • less than a minute read
Return all ModelState errors with field keys as json data in mvc
Returning and flattening all ModelState errors as Json using linq and extension methods
Returning and flattening all ModelState errors as Json using linq and extension methods
Custom sitecore validation to capture if an items field value has changed and stop the save action when required. Written in c#
Validate your entity framework models but still automatically generate your models using entity framework database-first by using partial classes to define validation attributes by utilizing the MetadataTypeAttribute class