I needed to provide a templating engine on the server-side for my CMS. I also want it to execute in a low permission or sandbox environment. Javascriptdotnet was the choice.
Recently did something similar as proof of concept which can be seen in demo here http://phuncms.azurewebsites.net/ . I use vashjs templating, which is similar to razor syntax but does not require the dom.
If you don't need something similar, I would recommend just straight Razor or run nodejs and express on the server-side.
Recently did something similar as proof of concept which can be seen in demo here http://phuncms.azurewebsites.net/ . I use vashjs templating, which is similar to razor syntax but does not require the dom.
If you don't need something similar, I would recommend just straight Razor or run nodejs and express on the server-side.