Postby njs123 » Mon Dec 26, 2016 10:52 pm
Hi,
Thanks for reply.
I want to implement the text templating.
e.g. I have a text template in a .txt file
Hello {Name},
Welcome to {Application}
now in the above template
I want to pass a object of following class
class Test{
public string Name{get;set;}
public string Application{get;set;}
}
and the placeholders needs to be replaced.
I tried several existing libraries but they are not compatible as they use .net features which are not implemented in cshtml.
Kind Regards