Recommendation for a ASP.NET Webforms Validation Framework

I have worked with the .MVC framework using validation frameworks such as xVal or FluentValidation.

Is there anything similar available for webforms as well? I have got a few projects which have to be done using webforms.

What I'm asking for is some kind of integration with the webforms infrastructure. I could just use one of the mentioned frameworks in order to validate the (view/page)models, but I still would have to do a lot of form validation in the page.

Thanks for any answers in advance. I'd really appreciate if you could describe or refer to the level of webforms integration.


在codeplex中有一个项目试图将xVal移植到Webforms,请看看http://xvalwebforms.codeplex.com/。


You can take a look at the Validation Application Block from the Enterprise Library. I've never tried to integrate it using webforms, but it does have a page dedicated to just that. Maybe this is something that can help:

http://msdn.microsoft.com/en-us/library/cc309331.aspx


Peter Blum的数据输入套件:http://www.peterblum.com/Home.aspx

链接地址: http://www.djcxy.com/p/45156.html

上一篇: 模糊数据库ID

下一篇: 对ASP.NET Webforms验证框架的建议