Reputation: 113956
What are the various tools to cross-compile or convert Javascript to C# and back? And how to execute JS in C# or C# in JS? This is a popular question, and I will provide answers for it.
Upvotes: 21
Views: 19469
Reputation: 113956
Compile C# to Javascript
Run Javascript in C#
Run C# In Javascript
Upvotes: 27
Reputation: 21
JScriptSuite - compiles MSIL (C# or another .NET language) to JavaScript. Allows debug original .NET (C#) code, provides databind templates, remoting interfaces, controls
Upvotes: 2
Reputation: 54192
Compile C# code to Javascript in Visual Studio:
Upvotes: 5