Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/15.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 如何在mono下返回多个值?_.net_Json_Wcf_Rest_Mono - Fatal编程技术网

.net 如何在mono下返回多个值?

.net 如何在mono下返回多个值?,.net,json,wcf,rest,mono,.net,Json,Wcf,Rest,Mono,我正在构建一个RESTful WCF主机,但我不知道如何让它在mono下返回值。 下面的代码在.NET下运行良好,但在mono(v3.3.0)下失败 有出路吗?谢谢大家! 接口 [WebInvoke(Method = "POST", UriTemplate="Test", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wr

我正在构建一个RESTful WCF主机,但我不知道如何让它在mono下返回值。 下面的代码在.NET下运行良好,但在mono(v3.3.0)下失败

有出路吗?谢谢大家!

接口

[WebInvoke(Method = "POST", UriTemplate="Test", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped)]
        string Test(int n1, int n2, int n3, int n4, out int o1, out int o2, out int o3, out int o4);
主机

Fiddler POST(.net)

Fiddler POST(单声道)

异常(mono linux)


您似乎发现了一个bug,我建议您将其归档