收藏一篇关于Asp.net Response.Filter的文章

2023-05-11,,

Capturing and Transforming ASP.NET Output with Response.Filter

https://weblog.west-wind.com/posts/2009/Nov/13/Capturing-and-Transforming-ASPNET-Output-with-ResponseFilter

摘要:使用Response.Filter来进行内容处理的时候,一定要注意,为了让IIS更好的使用内存,Response.Filter的输出并不是把整块内容一起输出的,而是按照块输出的(大约16k以下),所以使用Response.Filter的时候,就不能直接使用Write和Flush,而应该把整块内容的流程缓存起来之后再Flush。

这篇文章介绍了实现方法,有兴趣的可以看看。

收藏一篇关于Asp.net Response.Filter的文章的相关教程结束。

《收藏一篇关于Asp.net Response.Filter的文章.doc》

下载本文的Word格式文档,以方便收藏与打印。