If you haven’t been aware, there has been a team at Novell working hard to make a version of Silverlight for Linux. This version, called Moonlight, has been in development since WPF/e it was first shown at the MIX conference (which by the way is happening in March with some really exciting stuff, so be sure to register for MIX09!). Moonlight hit beta this past December 2008 and the team has already been working on Moonlight 2 which is the Silverlight 2 compatible version.
Right now, Moonlight 1.0 serves as a functional equivalent to the Silverlight 1.0 runtime, which was released a while back. Moonlight 1.0 will not enable to you to view Silverlight 2 content right now. If you want to track Moonlight 2 status, you can do so on the Moonlight project page (various links to Moonlight 2 hacking and discussion lists).
One of the things recently accomplished with this partnership was to enable the click-through install experience. What do I mean by this? Well most of the Silverlight templates use a single link for the installer. In the background this maps to a function to detect browser, platform, etc. and deliver the right bits to the user. In the event of an unsupported combination, this redirected to a page displaying the system requirements for the requested version of Silverlight. With Moonlight 1.0 out in beta now, that function now detects the platform correctly and redirects the user to the Moonlight 1.0 install instructions. In a recent survey I did, many of the respondents had requested this. They didn’t expect that Microsoft would provide the installer, but rather that at a minimum it should redirect to the installer for Moonlight…which it now does.
NOTE: Moonlight 1.0 is in BETA format. Please understand that Moonlight is a project from Novell and any progress updates will be provided from them. Since the product is in beta right now, read their documentation and caveats about any live deployment dependent upon Moonlight support.
Take a look at my experience below – I used an image of OpenSUSE which was built for me by the most awesome SUSE Studio. I simply have a plain OpenSUSE image (with Mozilla) and connected to my network. If the latency in the internet in the video seems slow, it is because it is a virtual machine on a laptop using a wireless connection – not exactly ideal conditions :-). But as you can see even the non-optimized install experience (using the default install badge from Silverlight 1.0) does the redirection accordingly and I was able to get Silverlight content running on my Linux instance.
(you may want to choose the fullscreen option for better scale)
I would imagine as Moonlight progresses (as well as progresses to v2) that this will even get better. Our functions map to web handlers that the Novell team control so they have the ability to redirect their installers accordingly. You can see that there are some nag screens that come up from Firefox (for security on installing web software as well as installing the XPI – these are both Firefox standard dialogs and not associated with Moonlight/Silverlight).
We plan on releasing some guidance samples on creating the best install experience using the Silverlight.js script. Once we do, I’ll update a post/example to show the fullest experience on all platforms. For now, I wanted to simply share this. If the application requests the Silverlight 2 installer, then the handler on our end will still inform the user that Linux isn’t yet a supported platform.
It’s great that the Microsoft and Novell teams were able to partner to ensure some great continuity in experience. It’s also great that some people have noticed…I found these comments from Joel Kelley on Twitter:
"MS Silverlight installation for FF on Linux is ridiculously painless. I' m impressed.” – Joel Kelly on Twitter
“I didn't finish it, but the installation for MS Silverlight seemed easier on Linux than Flash is. Well played, Mic rosoft. Well played.” on Twitter
I’m sure there are people that won’t like the process as well, but it is nice to see some positive comments for the Novell team.