我正在使用.NET WCF服务,该服务从另一个.NET应用程序接受JSON数据作为HTTP Post。将大量JSON数据发布到WCF服务
当我发布一个数据量小的一切工作正常(〜可达数据的65KB)
但是当我尝试后还不止这些,我得到的服务端内部服务器错误。
所有指向该服务的服务仅限于接受高达65kb的数据。
我已阅读有关修改我的配置文件以接受更多数据与maxrequestmessagesize属性,但我的问题是,我的web.config没有任何绑定,我可以看到。
以下是我在我的配置文件,涉及到服务
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
我不知道怎么做才能让过去那个65金的限制做的 - 任何帮助,将不胜感激。
感谢