Reputation: 177
What is the best way to apply a treatment after the page is rendered (view 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
Upvotes: 0
Views: 925
Reputation: 6184
You want to create an HttpModule to handle post-processing events
Upvotes: 2
Reputation: 101140
http://msdn.microsoft.com/en-us/library/system.web.mvc.controller.onresultexecuted.aspx
Upvotes: 3