开发者

How to modify markup in ASP.NET without using Response Filter

开发者 https://www.devze.com 2022-12-24 19:12 出处:网络
Since ASP.NET response filtering and post-cache substitution are not compatible, I need an alternative way of filtering output. Reference: http://support.microsoft.com/kb/2014472

Since ASP.NET response filtering and post-cache substitution are not compatible, I need an alternative way of filtering output. Reference: http://support.microsoft.com/kb/2014472

Is there any way to cha开发者_StackOverflow中文版nge the markup without using response filter?


Here's an official "answer" from MS Dev Support on this issue.

Question:
What is the alternative to response filtering in ASP.NET for modifying HTML rendered by another process when:
1. The other process cannot be modified
2. Post-cache substitution must be supported

Answer:
"Yes, you question is clear as blue sky and this is officially claimed to be not support. As Post-cache substitution would combine certain substitution chunks to the response bytes while response filtering expects to filter the raw bytes of the response(not modified). So the previously combined substitution chunks cannot be preserved anymore.

There is not an alternative from Microsoft so far."

0

精彩评论

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