Asp.net MVC page life cycle
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
精彩评论