I need to change full html response stream (with html parsing) before it is rendered to user.
Where/When is the last chance to do that?
I need to change full html response stream (with html parsing) before it is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IMHO, a better way to alter HTML response in ASP.NET MVC environment is to use action filters.
This is an example of an action filter for compressing the output:
You can use it like this on your action methods:
HTH