Page 1 of 1

Which templating engine is supported by cshtml5?

Posted: Mon Dec 26, 2016 1:22 am
by njs123
Hi,

Which html templating engine is supported by cshtml5?
e.g. razor cannot be used with cshtml5

Regards,
NJ

Re: Which templating engine is supported by cshtml5?

Posted: Mon Dec 26, 2016 6:45 am
by JS-Support @Userware
Hi,

If you use XAML, XAML styles, and XAML templates you do not need a templating engine, do you?

You can see some examples of XAML styles and templates at:
http://cshtml5.com/links/styles-and-templates.aspx

Thanks.
Regards,
JS-Support

Re: Which templating engine is supported by cshtml5?

Posted: Mon Dec 26, 2016 10:52 pm
by njs123
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