Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi sir,
One interviewer asked me, In Webservice, what is the maximum size of data can be sent through webservice. Kindly give me the solution for this problem.
Posted
Comments
[no name] 18-Jun-14 7:40am    
And when you did your research, what was the answer you found? You did do some research before running here and posting this didn't you?
Paulo Augusto Kunzel 18-Jun-14 8:07am    
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=What+is+the+maximum+size+of+data+can+be+sent+through+web+service%3F

1 solution

Friend Prabu,

As per default limit size is 4MB. you can change size as you required in WEB.CONFIG file.

XML
<configuration>
  <system.web>
  <httpruntime maxmessagelength="?????">
    executionTimeoutInSeconds="???"/>
  </httpruntime></system.web>
</configuration>


You just write your required value as per your program in place of ? and run and check you will get it done of your task.

Let me know if you have any further query.

Please, go through above suggestion.

If its your answer, please mark as solution.

Best of luck for hunting solutions.

Thank you.

Regards,

Manoj Kalla
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900