可以通过webservice发送的最大数据大小是多少? [英] What is the maximum size of data can be sent through webservice?
问题描述
嗨先生,
一位采访者问我,在Webservice中,可以通过webservice发送的最大数据量是多少。请给我解决这个问题的方法。
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.
推荐答案
朋友Prabu,
按默认限制大小是4MB。您可以在WEB.CONFIG文件中根据需要更改大小。
Friend Prabu,
As per default limit size is 4MB. you can change size as you required in WEB.CONFIG file.
<configuration>
<system.web>
<httpruntime maxmessagelength="?????">
executionTimeoutInSeconds="???"/>
</httpruntime></system.web>
</configuration>
您只需根据您的计划编写所需的价值而不是?并运行并检查你将完成你的任务。
如果你有任何进一步的询问,请告诉我。
请通过以上建议。
如果是您的答案,请标记为解决方案。
狩猎解决方案好运。
谢谢。
问候,
Manoj Kalla
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
这篇关于可以通过webservice发送的最大数据大小是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!