【发布时间】:2010-11-04 05:37:17
【问题描述】:
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;
}
【问题讨论】:
标签: wcf silverlight image upload send