Http module to directly edit output

M

Mike P2

Hi. How can I automatically edit the output of an ASP.net application,
such as using regular expressions to replace repetitive whitespace
with one space, or add a comment to the end of the output? I'd like to
just add this as an http module in Web.config.

I've used IHttpModule to do some simple tasks, but I can't find a way
to directly access the output. What I'm looking for would be the
equivalent of an object buffer that feeds through a function in PHP.

Is there some special place in the chain of events of rendering a page
that I should be inserting this code into? Is IHttpModule the right
place to look?

Thanks,
Mike PII
 
M

Mike P2

Oops...sorry for the triple post, Google Groups told me there was an
error posting it so I tried again.

-Mike PII
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top