Answer the question
In order to leave comments, you need to log in
Is there any templating engine for C#?
Good afternoon. Are there any template engines similar to RazorEngine?
Task:
There is a txt file - template.txt
There is another txt file - words.txt It is
necessary that template.txt, for example, when the string [% word %] is found, the word from words.txt is substituted
In general, a regular template engine, but not for work on the web.
Or is RazorEngine also suitable for such work?
Answer the question
In order to leave comments, you need to log in
Thank you all for the correct tip ... I googled the wrong queries)
I was completely satisfied with DotLiquid
No, Razor Engine won't fit here, because it's designed for html output. But you can use T4 Text Templates
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question