摘要:
本章介绍了值提供器的作用,ASP MVC自带的5中值提供器.以及模型绑定器的作用,自定义模型绑定器并使用自定义的模型绑定器(类型上加上[ModelBinder(typeof(xx))]或者在全局模型绑定器中注册)。 补充:全局模型绑定器中注册自定义模型绑定器 protected void Application_Start() { AreaRegistration.Re... 阅读全文
摘要:
本章介绍了值提供器的作用,ASP MVC自带的5中值提供器.以及模型绑定器的作用,自定义模型绑定器并使用自定义的模型绑定器(类型上加上[ModelBinder(typeof(xx))]或者在全局模型绑定器中注册)。 补充:全局模型绑定器中注册自定义模型绑定器 protected void Application_Start() { AreaRegistration.Re... 阅读全文
|