[Feature request] support to use blazor razor as template engine to render report and save the raw string #30717
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-prerendering
Issues related to prerendering blazor components
Milestone
Is your feature request related to a problem? Please describe.
Hope blazor razor can be use as a template render tools to render report, I use C# interpolate string、 JavaScript interpolate string、 Python Jinja2 to generator report before.
But razor for blazor is more powerful, as all the template language just support express embedded and with some type of directives to do control flow, which is very limit and a free form like Blazor/PHP/JSP is more welcome.
So, if razor flor blazor can be use standalone or with minimum env setup, it will be a great to to do report generation tools development like.
razor component(RazorRenderComponent)
main program
Describe the solution you'd like
Please consider provider a simple api to render result to string, and minimum the context init process, like DI
Additional context
Blazor's free form render process is really cool, support statement and no need special and limited directives to do flow control, it will make report generator funcation easy to develop or release as an standalone program.
The text was updated successfully, but these errors were encountered: