问题描述
什么是创建一个JSON的Web服务的最佳方法是什么?我们有一个使用Java的另一支球队,他们坚持有使用JSON完成所有通信。我想preFER使用WCF,而不是任何第三方框架。
What is the best way to create a JSON web service? We have another team that is using Java and they insist to having all communication done using JSON. I would prefer to use WCF rather than any 3rd party framework.
我发现这个博客:http://www.west-wind.com/weblog/posts/164419.aspx,它表明微软实施缺陷与M $的具体废话。
I found this blog: http://www.west-wind.com/weblog/posts/164419.aspx, and it suggests that the Microsoft implementation is flawed with M$ specific crap.
推荐答案
我结束了使用 JayRock 。其梦幻般的科技产品,只是工作。你没有得到像任何NullReferenceException异常,从这个垃圾WCF,如果你没有正确配置它。
I ended up using JayRock. Its fantastic piece of technology, just works. You don't get any NullReferenceExceptions like from this crap WCF if you don't configure it correctly.
这篇关于WCF JSON Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!