首页> 外文期刊>MSDN Magazine >Model Validation & Metadata in ASP.NET MVC 2
【24h】

Model Validation & Metadata in ASP.NET MVC 2

机译:ASP.NET MVC 2中的模型验证和元数据

获取原文
获取原文并翻译 | 示例

摘要

One of the new features added to the ASR.NET MVC 2 release is the ability to validate user input on both the server and client. All you need to do is give the framework some information about the data you need validated, and the framework will take care of the hard work and details.rnThis feature is a tremendous boon for those of us who wrote custom validation code and custom model binders to perform simple model validation with ASP.NET MVC 1.0. In this article, I'll look at the built-in validation support in ASP.NET MVC 2.
机译:ASR.NET MVC 2版本中添加的新功能之一是能够验证服务器和客户端上的用户输入。您需要做的就是为框架提供一些有关您需要验证的数据的信息,该框架将处理繁重的工作和细节。对于编写自定义验证代码和自定义模型绑定程序的我们来说,此功能是一个巨大的福音使用ASP.NET MVC 1.0执行简单的模型验证。在本文中,我将介绍ASP.NET MVC 2中的内置验证支持。

著录项

  • 来源
    《MSDN Magazine》 |2010年第3期|76-79|共4页
  • 作者

    K. SCOTT ALLEN;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号