摘要:
By default you don't need to use neither [Serializble] nor [DataContract] to work with Web API. 默认情况下ASP.NET Web API 不需要[Serializble] 或者[DataContract]标记Just leave your model as is, and Web API would serialize all the public properties for you.ASP.NET Web API会自动帮我们序列化所有Public属性Only if you want to 阅读全文
posted @ 2013-04-07 19:27
sharpCode
阅读(434)
评论(1)
推荐(0)