Questions tagged [ihttpmodule]
121 questions
1
vote
1 answer
using log4net and IHttpModule with a WCF service
I have a Website that contains a number of webpages and some WCF services.
I have a logging IHttpModule which subscribes to PreRequestHandlerExecute and sets a number of log4net MDC variables such as:
MDC.Set("path",…

Aaron0
- 389
- 4
- 14
1
vote
1 answer
Can I get read access to the HTTP output stream in ASP.NET?
I would like to read all content that's been written to the output stream. I'm attempting to do this using an HTTP module, and it seems like the obvious timing would be when handling the PreSendRequestContent event.
However, if the output stream…

Daniel Schaffer
- 56,753
- 31
- 116
- 165
1
vote
2 answers
Add javascript into httpmodule of DNN
I have httpmodule in DotNetNuke.
How to add a javascript file to this httpmodule?
I tried this, but it didn't work:
string text = "