for some reason the Html helper is only available for MVC projects, but not for WebPages Razor only projects.
As result, you can't use Html.Raw() or any of its helpers.
For the Html.Raw iteslef, you can simply output @(new HtmlString("<div>"))
But what about the others?
Comments: This issue needs more context. What exactly are you trying? Do you have a repro project you can share?
As result, you can't use Html.Raw() or any of its helpers.
For the Html.Raw iteslef, you can simply output @(new HtmlString("<div>"))
But what about the others?
Comments: This issue needs more context. What exactly are you trying? Do you have a repro project you can share?