Gets or sets a wrapping filter object that is used to modify the HTTP entity body before transmission.
Assembly: System.Web (in System.Web.dll)
When you create a Stream object and set the property to the Stream object, all HTTP output sent by Write passes through the filter.
The following example is an ASP.NET page that sets the property to a new instance of the UpperCaseFilter class, a custom Stream class that converts all text that passes through it to uppercase. The information about the request is saved to a text file, and then the property is set. After the response filter is in place, the code calls the MapPath method to get the absolute path to a text file named TestFile.txt that serves as the source for the content of the response. The code then creates a new StreamReader object to read the text file from beginning to end, and then calls the Write method to display the content of the file on the page.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.