Which templating engine is supported by cshtml5?

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
njs123
Posts: 25
Joined: Sun Dec 25, 2016 11:10 pm

Which templating engine is supported by cshtml5?

Postby njs123 » Mon Dec 26, 2016 1:22 am

Hi,

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

Regards,
NJ

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Which templating engine is supported by cshtml5?

Postby JS-Support @Userware » Mon Dec 26, 2016 6:45 am

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

njs123
Posts: 25
Joined: Sun Dec 25, 2016 11:10 pm

Re: Which templating engine is supported by cshtml5?

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 29 guests

 

 

cron