Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 我们可以在wcf中使用net tcp绑定进行Json序列化吗?_.net_Wcf_Json_Serialization_Binding - Fatal编程技术网

.net 我们可以在wcf中使用net tcp绑定进行Json序列化吗?

.net 我们可以在wcf中使用net tcp绑定进行Json序列化吗?,.net,wcf,json,serialization,binding,.net,Wcf,Json,Serialization,Binding,我们可以在wcf中使用net tcp绑定进行Json序列化吗?如果是,需要什么配置?任何帮助都将不胜感激。您只需找到序列化行为并将其替换,就可以帮助您。为什么要这样做?JSON只在从Javascript调用服务时才有用,这意味着HTTP…@ThomasLevesque-JSON对性能非常有用,并且在SOAP太过复杂的情况下也非常有用verbose@Maslow,你是对的,我实际上改变了我的看法,因为我发布了这条评论。。。

我们可以在wcf中使用net tcp绑定进行Json序列化吗?如果是,需要什么配置?任何帮助都将不胜感激。

您只需找到序列化行为并将其替换,就可以帮助您。

为什么要这样做?JSON只在从Javascript调用服务时才有用,这意味着HTTP…@ThomasLevesque-JSON对性能非常有用,并且在SOAP太过复杂的情况下也非常有用verbose@Maslow,你是对的,我实际上改变了我的看法,因为我发布了这条评论。。。