Do we have any template engine alternative to Razor that integrates with Visual Studio and could be executed on client side as well as on server side ? That means the javascript should be used as a glue (not C#).
It seems that Razor now works like an anchor which stuck us thinking "server-side".
P.S. I've found that people have asked the same question different way: e.g. how to generate TypeScript from C# model. Some people interested in how to use T4 and CodeSmith for that.
P.P.S. Knockout.MVC did some steps that direction: it generates knockout binding from given C# model. I have found it difficult to integrate into existent project. Anything else?