随笔分类 -  Asp.Net MVC 3

Asp.net MVC 3 Razor 确实是一个优秀的值得学习的好框架
摘要:You can use four attributes in the DataAnnotations namespace to cover common validation scenarios.Required 特性Like all the built-in validation attributes,the Required attribute delivers both server-side and client-side validation logic(alothough internally,it is another component in the MVC framework 阅读全文
posted @ 2012-11-22 00:08 baidixing 阅读(1313) 评论(0) 推荐(0) 编辑
摘要:FindView() FindPartialView() 的区别RenderBody() RenderSection() RenderPage() 的区别 ,应该在何时使用不同的方法来操作Controller 类的属性ViewData 及其 ViewBag的 属性,IView的属性ViewEngine的属性 ViewEngineResult属性ViewContext属性ModelBinder 模型绑定语法 及其遇到的安全问题ModelState 模型状态详细的Razor语法介绍 深入了解这些是应当深入学习Asp.net MVC必备的知识点。亲 你掌握了没有 阅读全文
posted @ 2012-11-18 01:00 baidixing 阅读(716) 评论(2) 推荐(0) 编辑
摘要:mvc 3 View ViewBag ViewData 阅读全文
posted @ 2012-11-17 21:12 baidixing 阅读(974) 评论(0) 推荐(0) 编辑
摘要:MVC处理流程,详细介绍了asp.net MVC 从发起请求到显示页面的整个过程, 阅读全文
posted @ 2012-11-17 15:53 baidixing 阅读(5296) 评论(3) 推荐(6) 编辑
摘要:这个约定是我在Profession Asp.net MVC 3 这本书上看到写下的笔记,作为一个总结。因为原书是英文的,所以可能会有翻译不对的地方,我尽量使用原文。MVC is designed around some sensible convention-based defaults that can be overridden as needed.This concept is commonly referred to as “Convention over configuration”.MVC被设计用来遵循以约定为基础。约定胜于配置在一些年前的Ruby on Rails 很流行,它最基 阅读全文
posted @ 2012-11-17 12:23 baidixing 阅读(1199) 评论(2) 推荐(0) 编辑