Thank you for visiting!

Please consider subscribing to the RSS feed or following me on Twitter.

HtmlDecode and MVC

Just a simple tip when you try to use HtmlDecode in MVC (Razor) - don't use WebUtility.HtmlDecode, it won't work.

Just use Html.Raw instead:


It really helps to know your Html Helpers.

Html.Raw was introduced in MVC 3.

To the top