MVC2 - Html Encoding

by Microsoft

In this video you will learn how to use the new HTML Encoding shortcut syntax in ASP.NET to guard against script injection, and to use the MvcHtmlString when you want to include HTML in your strings.

▶ Watch video (2 minutes)