×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

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)
Install Microsoft Silverlight

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.


This work is licensed under a Creative Commons Attribution By license.


1/8/2009 3:57 AM | # Ummm...
Umm, I clicked the video to start it playing, and it just redirects to the same old sad 'you can't use Silverlight' page.
Can't you stick it up in something the rest of the world stands a chance of understanding, like a YouTube hosted Flash video or something ?

OpenSuSE 10.3, Konqueror. FireFox faired a bit better, actually getting a redirect, but I'm not installing RandomBetaSoftware just to watch a video, sorry.
2/11/2009 3:02 PM | # re: Screencast of Silverlight installation on Linux
Tom - the video here is using Silverlight 2, which Moonlight doesn't support yet. Raw video here: http://storage.timheuer.com/MoonlightInstall.wmv
2/12/2009 2:46 AM | # re: Screencast of Silverlight installation on Linux
Firefox 3 on windows 2003 does not display the silverlight video, just see a white box, can right click and get "Silverlight Configuration".
IE7 works fine.
I have had no problems with any other silverlight pages.
2/12/2009 9:14 AM | # re: Screencast of Silverlight installation on Linux
memals - I've seen this as well -- refresh a few times. I think it has something to do with the delivery of the bits from Amazon (where I'm hosting it).
1/13/2011 3:45 AM | # re: Screencast of Silverlight installation on Linux
Hi there,

I'm trying to make my WCF application accept HTTPS connection, but it
just won't let me connect to the service.
Here's a snippet of the code I use to generate a (valid...?) .cer file

===== CODE =====

System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = localPath + "makecert.exe";
proc.StartInfo.Arguments = "-r -pe -n \"CN=www.toto.com\" -b
01/01/2000 -e 01/01/2036 -ss my -sr localmachine -sky exchange -sp
\"Microsoft RSA SChannel Cryptographic Provider\" -sy 12";


===== END CODE =====70-647 dumps

1rst question: is it an acceptable way to generate the certificate ?
Am I missing some vital information ?

And now, a snippet of the code I use to create my ServiceHost:

===== CODE =====

baseAddress = string.Format("https://{0}.{1}
:{2}",
System.Environment.MachineName, domainName, this.tcpPort);
this.host = new ServiceHost(typeof(MySpace.WebServices), new Uri[]
{ new Uri(baseAddress + "/WebServices") });
BasicHttpBinding binding = new BasicHttpBinding
(BasicHttpSecurityMode.Transport);
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType.None;

ServiceMetadataBehavior behavior = new ServiceMetadataBehavior();
behavior.HttpsGetEnabled = true;
host.Description.Behaviors.Add(behavior);

host.AddServiceEndpoint(typeof(IMyInterface), binding, baseAddress + "/
WebServices");
this.host.Credentials.ServiceCertificate.SetCertificate
(StoreLocation.LocalMachine, StoreName.My,
X509FindType.FindByIssuerName, "www.toto.com");
this.host.Open();

===== END CODE =====

The service starts with no errors, but when I try to connect I get the
following from Firefox : "Data transfer interrupted"

What am I doing wrong ?

Thanks in advance
70-290 dumps

 
Please add 2 and 7 and type the answer here:

DISCLAIMER:

The opinions/content expressed on this blog are provided "ASIS" with no warranties and are my own personal opinions/content (unless otherwise noted) and do not represent my employer's view in any way.