Proviste
Proviste

Reputation: 177

Asp.net MVC page life cycle

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

Answers (2)

Neil Fenwick
Neil Fenwick

Reputation: 6184

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

Upvotes: 2

Related Questions