What if you could write all your components within C# in Visual Studio? Soon you will!
codename: jsc solution
What does jsc do? It will tear part your .net assembly and convert components to the target language and form. Neccesary proxy glue code will be generated and injected.
Future features:
- javascript application generation
- java applet object
- flash object with p2p stratus and alchemy
- java servlet for google app engine
- php code generation
- web services
- ORM
- Avalon
- Windows Forms
Update: The client side must be built first. Any compiled objects like javascript, assets, flash and java objects need to be embedded to server side code even just for asp.net. The second phase would then rewrite the asp.net assembly for php or java.
Source view mockup:
Advertisement











How hard would it be for someone to write the code to convert javascript to C# or VB.NET?
Since this thing can output java which is alot like C#, it should also be possible to make it output C#. The only problem is to compile or convert javascript into MSIL or whatever model this uses.
You would end up with a 2-way tool that allows you to edit the output javascript and it updates the C#.
Comment by David Kahn — January 21, 2010 @ 11:36 pm
A 2 way converter is defenetly something a have been thinking of for a while. It’s not that hard but the costs may exceed the benefits. I will visit this idea again soon.
Comment by zproxy — January 22, 2010 @ 6:34 am
[...] jsc solution were to implement the idea [...]
Pingback by Hi Volta, Hi Ripley « c# to javascript, actionscript — January 26, 2010 @ 11:22 am
Microsoft seems to have a javascript to .net compiler in the DLR package. Will need to wait and see.
Comment by zproxy — January 27, 2010 @ 9:32 am