Posts in  razor

1.30.2014

Disable encoding with custom html builders in Razor without using IHtmlString

If you use a custom html builder, not marked with IHtmlString, and don't want to use the verbose @Html.Raw(builder) and would rather just use @builder, see this gist for how to set this up: