This project is read-only.
1
Vote

AntiXss Clarification

description

Hi Guys,

Can anybody guide me how to Impliment AntiXSS to Existing WEB Project

The Application is in Production have to Make Code Changes below are the steps been Completed

1) Version used is Express Enterprise 2008 Visual Studio 3.1

2) Added reference of AntiXss Library

3) Added Class AntiXssEncode.cs

public class AntiXssEncoder : HttpEncoder
{
public AntiXssEncoder() { }

protected override void HtmlEncode(string value, TextWriter output)
{
    output.Write(AntiXss.HtmlEncode(value));

}
getting Error error CS0246: The type or namespace name 'HttpEncoder'
could not be found (are you missing a using directive or an assembly reference?)

comments