description: "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..."
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)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/mvc2-html-encoding)