开发者

HttpModule for a Response Filter - override Write or Close

What are the advantages/disadvantages of overriding Write instead of Close on the Filter Stream that does filt开发者_如何转开发ering in an HttpModule?

I assume you would want to use Write because the memory used by the buffer is smaller than using the entire byte array during Close. Are there other reasons not to do manipulation in Close?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜