Shrink-wrapped MkayPosted: March 5, 2013
If you’ve been following this blog, you’ll know that there is no point in writing your own custom validation attributes for ASP.NET MVC data validation any more. Instead, you should be using Mkay, which allows you to specify arbitrary validation rules for your models in a LISP-like syntax. And now you can actually do it too, since I’ve packaged everything nicely in a nuget package.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|<meta charset="utf-8" />|
|<meta name="viewport" content="width=device-width" />|
|@RenderSection("scripts", required: false)|
And then you can start using Mkay for your own validation needs. Wee! World domination!