How to Enable a .NET Web Service to Receive Large Amounts of Data? -
how enable .net web service receive large amounts of data ?
i have .net web service should receive several large files , save them in directory on local hard disk. program (running on computer on same network) tries call web service receives error: "line long".
any suggestions?
thanks, luis.
code:
method:
public function receivefiles(byval filecontents string, byval fileinfo list(of string), byval listbinaryfilecontents list(of byte()), byval liststringfilecontents list(of string)) string() implements ireceivefiles.getdatareceivefiles
...
datacontract:
<operationcontract()> function getdatareceivefiles(byval filecontents string, byval fileinfo list(of string), byval listbinaryfilecontents list(of byte()), byval liststringfilecontents list(of string)) string()
webconfig:
<appsettings> <add key="aspnet:usetaskfriendlysynchronizationcontext" value="true" /> </appsettings> <system.web> <compilation debug="true" strict="false" explicit="true" targetframework="4.5" /> <httpruntime targetframework="4.5"/> </system.web> <system.servicemodel> <behaviors> <servicebehaviors> <behavior> <!-- avoid disclosing metadata information, set values below false before deployment --> <servicemetadata httpgetenabled="true" httpsgetenabled="true"/> <!-- receive exception details in faults debugging purposes, set value below true. set false before deployment avoid disclosing exception information --> <servicedebug includeexceptiondetailinfaults="false"/> </behavior> </servicebehaviors> </behaviors> <protocolmapping> <add binding="basichttpsbinding" scheme="https" /> </protocolmapping> <servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true" /> </system.servicemodel> <system.webserver> <modules runallmanagedmodulesforallrequests="true"/> <!-- browse web app root directory during debugging, set value below true. set false before deployment avoid disclosing web app folder information. --> <directorybrowse enabled="true"/> </system.webserver>