Redian新闻
>
Size limit on HttpResponse.BinaryWrite?
avatar
Size limit on HttpResponse.BinaryWrite?# DotNet - 窗口里的风景
D*n
1
I use the BinaryWrite(byte[]) api to write a file back to the response
stream. I wonder if there's a limit on how big a byte array I can write
back. It goes through HTTP protocol, it has to have certain limit.
avatar
a9
2
好像没有。

【在 D*****n 的大作中提到】
: I use the BinaryWrite(byte[]) api to write a file back to the response
: stream. I wonder if there's a limit on how big a byte array I can write
: back. It goes through HTTP protocol, it has to have certain limit.

avatar
k*i
3
Better implement your own caching and streamming mechanism.There is a bug in
.net 1.1 when you stream back hugh file(say >100m). I don't know if it has
been fixed or not i 2.0

【在 D*****n 的大作中提到】
: I use the BinaryWrite(byte[]) api to write a file back to the response
: stream. I wonder if there's a limit on how big a byte array I can write
: back. It goes through HTTP protocol, it has to have certain limit.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。