Steve Sanderson在codeplex上发布了一个asp.net mvc validation framework xVal ,并写一篇详细的文章介绍这个框架 xVal - a validation framework for ASP.NET MVC。xVal可以把客户端和服务端的验证机制结合起来。
Validation with Asp.net MVC, xVal & IDataerrorInfo : http://schotime.net/blog/index.php/2009/03/05/validation-with-aspnet-mvc-xval-idataerrorinfo/ Integrating xVal Validation with Linq-to-Sql :http://schotime.net/blog/index.php/2009/03/31/integrating-xval-validation-with-linq-to-sql/ Using xVal with NHibernate Validator 1.2: http://weblogs.asp.net/srkirkland/archive/2009/09/29/using-xval-with-nhibernate-validator-1-2.aspx
|
请发表评论