Hi Karahan,
Thanks for posting in the community!
From your description, you're wanting to do some certain modification on
the Request's InputStream and also you found using the Request Filter
HttpModule not worked, yes?
If there is anything I misunderstood, please feel free to let me know.
Based on my experience, generally if we'd like to do some general
operations on the Request's InputStream, the only way is just the Filter
httpMoudle. But this way may be somewhat complex because that means we need
to directly deal with the raw byte stream of the Request. Here are some
tech articles on using the HTTPMODULE to generate Fitler:
#Intercepting Filter
http://msdn.microsoft.com/library/en-us/dnpatterns/html/DesInterceptingFilte
r.asp?frame=true
#Implementing Intercepting Filter in ASP.NET Using HTTP Module
http://msdn.microsoft.com/library/en-us/dnpatterns/html/ImpInterceptingFilte
rInASP.asp?frame=true
#Filtering HTTP Requests with .NET
http://www.ondotnet.com/pub/a/dotnet/2003/10/20/httpfilter.html
#HttpRequest.Filter Property
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWebHttpRequest
ClassFilterTopic.asp?frame=true
#Build an ASP.NET HttpRequest Log Filter
http://www.eggheadcafe.com/articles/20030813.asp
In addition, since you mentioned that you failed to get it work, would you
please provide some further infos on your code logics or what kind of
detailed problems you met? Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx