随笔分类 - ASP.NET Web API
在ASP.NET Web API下使用[Serializble]的问题
摘要: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
阅读全文
浙公网安备 33010602011771号