阅读背景:

业务逻辑中的验证——ASP。净Web表单

来源:互联网 

In reading up on ASP.NET MVC I came across some wonderful examples of validation where the business rules were associated with the model and the UI merely displayed the set of errors and flagged the form elements associated with invalid input. I think it makes fantastic sense to keep this logic in a single place rather than have every form perform its own unique validation.In reading up on ASP.NET MVC I came across some




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: