Skip to content

Issue rendering IHtmlContent in Razor component #50334

@Fido789

Description

@Fido789

I am trying to render Razor components to the string following example here https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-components-outside-of-aspnetcore?view=aspnetcore-8.0

Unfortunately it seems like expressions evaluated to IHtmlContent are not rendered correctly and IHtmlContent.WriteTo is not called. Is IHtmlContent not supported for this scenario?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions