Silverlight saving Big data to WCF appears not found problem

Source: Internet
Author: User
Tags silverlight

Silveright call WCF to save big data, directly in the client reported "remote server returned error: not Found" problem, a small amount is no problem, such as:

Later in this article find the solution: http://www.cnblogs.com/yjmyzz/archive/2011/06/29/2093829.html

Put it on the way and take it if you need it.

Servicereferences.clientconfig Customer Profile:

<configuration> <system.serviceModel> <bindings> <basicHttpBinding> <binding na Me="Basichttpbinding_imoduleaservice"Maxbuffersize="2147483647"MaxReceivedMessageSize="2147483647"Opentimeout="00:10:00"ReceiveTimeout="00:10:00"Sendtimeout="00:10:00"Closetimeout="00:10:00"> <security mode="None"/> </binding> </basicHttpBinding> <!--The following node is the key, the amount of traffic data--<customBinding> <binding name="Basichttpbinding_moduleaservice"> <textmessageencoding messageversion="Default"writeencoding="Utf-8"/> "2147483647"Maxbuffersize="2147483647"Transfermode="Buffered"/> </binding> </customBinding> </bindings> <client> <endpoint Address ="http://localhost:77886/ModuleAService.svc"binding="BasicHttpBinding"bindingconfiguration="Basichttpbinding_imoduleaservice"Contract="Moduleaservice.imoduleaservice"Name="Basichttpbinding_imoduleaservice"/> </client> </system.serviceModel></configuration>

Web. config server-side configuration file:

<?xml version="1.0"encoding="Utf-8"?><configuration> <configSections> </configSections> <system.web> <compilation debug="true"targetframework="4.5"/> "4.5"Maxrequestlength="102400"/> </system.web> <system.serviceModel> <services> <service behaviorconfiguration="Basichttpbehavior"Name="Moduleaservice.moduleaservice"> <endpoint address=""binding="BasicHttpBinding"bindingconfiguration="Basichttpbinding_imoduleaservice"contract="Moduleaservice.imoduleaservice"/> </service> </services> <behaviors> <serviceBehaviors> <behavior na Me="Basichttpbehavior"> <servicethrottling maxconcurrentsessions=" -"maxconcurrentinstances=" -"maxconcurrentcalls=" -"/> <servicedebug includeexceptiondetailinfaults="true"/> <servicemetadata httpgetenabled="true"Httpsgetenabled="true"/> <datacontractserializer maxitemsinobjectgraph="2147483647"/> <servicetimeouts transactiontimeout="00:10:00"/> </behavior> </serviceBehaviors> </behaviors> <servicehostingenvironment Aspne Tcompatibilityenabled="true"Multiplesitebindingsenabled="true"/> <bindings> <basicHttpBinding> <binding name="Basichttpbinding_imoduleaservice"Maxbuffersize="2147483647"Maxreceivedmessagesize="2147483647"Maxbufferpoolsize="2147483647"Sendtimeout="00:10:00"receivetimeout="00:10:00"closetimeout="00:10:00"Opentimeout ="00:10:00"messageencoding="Text"Transfermode="Streamed"usedefaultwebproxy="true"> <readerquotas maxdepth=" -"Maxstringcontentlength="2147483647"Maxarraylength="2147483647"Maxbytesperread="2147483647"Maxnametablecharcount="2147483647"/> <security mode="None"> <transport clientcredentialtype="None"Proxycredentialtype="None"realm=""/> <message clientcredentialtype="UserName"Algorithmsuite="Default"/> </security> </binding> </basicHttpBinding> </bindings> <client > <endpoint address=""binding="BasicHttpBinding"bindingconfiguration="Basichttpbinding_imoduleaservice"contract="Moduleaservice.imoduleaservice"Name=""/> </client> </system.serviceModel> <system.webServer> <modules runallmanagedmodulesforall requests="true"/> <directorybrowse enabled="true"/> </system.webServer></configuration>

Silverlight saving Big data to WCF appears not found problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.