My application has lot of cross site scripting vulnerablities. I need a common C# function so that will avoid\eliminate all the cross site scripts.
Server.HtmlEncode() will render them harmless.