[英]how to get page html in httpmodule?
我想用httpmodule endrequest中的文本替換注釋的html令牌。 如何在httpmodule中獲取頁面html?
您可以為此使用HttpResponse.Filter :
HttpResponse.Filter
此屬性獲取或設置包裝過濾器對象,該包裝對象用於在傳輸之前修改HTTP實體主體。
這里有幾篇文章可以幫助您:
[英]how to add html in httpmodule?
[英]HttpModule - get HTML content or controls for modifications
[英]Why can't I get the Page.Title within an httpModule?
[英]How to inject HTML before closing html tag in a HTTPModule
[英]access header of page in httpmodule
[英]HTTPModule handle page content
[英]How do I retrieve response html from within a HttpModule?
[英]User interactions on page interacting with HttpModule
[英]how to get html web page?
[英]How to detect an MVC app in an HttpModule
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.