Subscribe to my blog

SLJS.org - a Silverlight - Html/JS converter

Published on 2011-6-30

At NDC2011 I was chatting to some folk who work on various OSS projects about cool things we could potentially work on in the future, and the topic of a Silverlight -> Web converter came up

TLDR: Click here to see the demos, click here to see the code, click here to view the Google Group.

I had thought about this before, but it is only recently that an IL converter appeared up that I deemed fit for this purpose (JSIL), and it is after this conversation I decided to put words into action

To this end, I have spent the past few weeks diving into the various concepts in Silverlight and spiking out implementations for converting them to make sure that the vast majority of what I wanted was actually possible

And that leads us to this, SLJS.org, home to where I've gotten so far, with a couple of demos showing off what it can do. More to be added as we go along.

Truth be told I'm largely doing this for fun and education at the minute, although I know a few people who actually want to use it - not to convert legacy projects, but to write new code in their familiar Silverlight world and have it work in a browser without requiring a plug-in.

I'm happy to support that, but it should be a community effort, rather than me blindly just working on features for the sake of it (although I have a little more of that left in me before I start taking on feature requests!)

So far the following has been implemented

On my immediate road-map (so in the coming week), I'll be working on:

I would totally appreciate some help/feedback/pointers for the direction of the project/cheering from the sidelines etc

The last one is important actually, if y'all tell me you find this interesting then I'll carry on working on it, if nobody gives a crap then when I get bored I'll stop :-)

But yeah, just joining the Google Group and helping me build a road-map would be a good start

blog comments powered by Disqus

Michael Washington


The SLJS.org domain appear to not be up.

robashton


Just taking time to propogate, try http://www.jsil.org in the meantime

Michael Washington


Ok it works now!

robashton


If it doesn't work for anyone else, it just hasn't propogated yet, you can add a hosts entry if you're desperate, same IP address as this site.

Dave Arkell


Wow, looks great. mvvm is definately the right direction - one day maybe we can put our lob apps in there and see what pops out....

Oscar Agreda


Great project.. many of us have Business Applications done in Silverlight, and your converter will definitely will easy the conversion to the new platform HTML5 and JavaScrip.while Microsoft is trying to figure out how to re gain the trust from millions of Silverlight developers you came with a brilliant idea and amazing project.and i like the word MVVM.... which probably means we could port our applications to HTML5..... Very Nice ...and Thank You

Brandon


None of the sample HTML pages load anything?

robashton


Which browser? It has only been tested in Chrome and Firefox, there is also no loading message so it can take some time to appear as it pulls down the JS.There will either be an error, or you will see something, not 'nothing'

Brandon


Hmm appears they are not working in IE9. White Page.Debugger Console shows: SCRIPT1028: Expected identifier, string or number JSIL.Core.js, line 1992 character 3SCRIPT5022: JSIL.Core is required JSIL.Bootstrap.js, line 4 character 3SCRIPT5009: 'JSIL' is undefined system.js, line 1 character 1SCRIPT5009: 'JSIL' is undefined system.windows.js, line 7 character 1SCRIPT5009: 'JSIL' is undefined HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.js, line 2 character 1SCRIPT5009: 'JSIL' is undefined executor.js, line 92 character 9