The Asp.Net System.Web.HttpRequest class allows an incoming request to be modified by using the Filter property to attach a stream filter to the incoming data stream.
This was introduced in .Net 1.1 and is documented using Global.asax in this MSDN article
Since the .Net 1.1 release, Asp.Net has become a pretty big bag of tricks. I am trying to figure out in what configurations this technique works and in what situations it fails.
Please add answers for different configurations. For example:
- Does this work for Web Api?
- Does this work for WCF web services?
- Does anyone know why url routing causes problems?