开发者

Asp.net MVC page life cycle

开发者 https://www.devze.com 2023-02-06 01:21 出处:网络
What is the best way to apply a treatment after the page is rendered (v开发者_如何学Goiew calculated, html helpers calculated, partial views calculated and so on...) but before the response is sent to

What is the best way to apply a treatment after the page is rendered (v开发者_如何学Goiew calculated, html helpers calculated, partial views calculated and so on...) but before the response is sent to the client ? In order to modify this response (with DB access needed)...

Thank you


http://msdn.microsoft.com/en-us/library/system.web.mvc.controller.onresultexecuted.aspx


You want to create an HttpModule to handle post-processing events

0

精彩评论

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