0
kicks
ASP.NET MVC: Prevent XSS with automatic HTML encoding
Tired of having to remember to HTML-encode all your strings to prevent cross-site-scripting? Here's a way to change the ASPX page compilation process so that output is correctly encoded by default.