N
N
Nubzilo2015-12-31 17:53:31
.NET
Nubzilo, 2015-12-31 17:53:31

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

3 answer(s)
N
Nubzilo, 2015-01-02
@Nubzilo

Thank you all for the correct tip ... I googled the wrong queries)
I was completely satisfied with DotLiquid

M
mayorovp, 2015-12-31
@mayorovp

No, Razor Engine won't fit here, because it's designed for html output. But you can use T4 Text Templates

D
Deerenaros, 2015-12-31
@Deerenaros

This bike is spelled one-two.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question