阅读背景:

Angular js JSON数据与DateTime的MVC模型绑定?

来源:互联网 

I am using Angular JS to get and post data to my MVC 4 controller as JSON. All of my properties convert properly except the DateTime/DateTime? types. I would like to have a 'set it and forget it' approach to handling dates so that new classes and or properties that are added will not have to remember to do some special conversion to handle a date properly. I have seen the following approaches and possible disadvantages. What approach are people out there using for the same platform? Is there something in MVC4 that is handling this properly that I may not have configured? Any suggestions will be greatly appreciated.I am using Angular JS to get and post data to m




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

分享到: