Silverlight 将 WCF 与basicHttpBinding结合使用
<basicHttpBinding>
<binding name="BasicHttpBinding_BugsService"
maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="None"/>
</binding>
</basicHttpBinding>
我将图像作为 发送byte[]
,只要图像小于 20KB,它就可以工作
但是当它更大时,我得到了错误:
远程服务器返回错误:NotFound
在 Reference.cs
public bool EndSave(System.IAsyncResult result)
{
object[] _args = new object[0];
bool _result = ((bool)(base.EndInvoke("Save", _args, result))); // error
return _result;
}