Closed DreamTom closed 5 months ago
What does the template use as a placeholder? Assuming it's an HTML template
and the placeholder is {{FirstName}}
, the simplest option is to use the
Replace method to populate it from a variable.
thanks a lot, I found a good template rendering engine library called RazorEngineCore, which can help me implement some more complex templates
Glad you found a solution, looks like a good library.
If I have a template but part of the content changes dynamically, can I support the rendering of dynamic templates? I think this feature can be added.