OpenSilver: Silverlight makes an open source comeback
Ten years ago, plugins were needed for a lot of things in web browsers. Today, only Flash survived in the browser and its time is running out as well. Plugins such as Flash, Silverlight, or Java were fundamental parts of the Internet but the rise of web technologies such as JavaScript caused these to be removed from web browsers by companies such as Mozilla or Google.
Adobe will end Flash development in 2020 and Microsoft revealed that it won't support Silverlight from October 2021 anymore.
Developers and projects that use these technologies won't be able to do so anymore when support ends for these products. While it is possible to run some older versions of browsers and the last plugin released, it is not recommended due to security concerns.
Tip: Flash gamers may check out the Flash Games preservation project to continue playing games made in Flash.
Silverlight developers and projects may have a way out however. The French organization Userware released a preview of OpenSilver today, an open source implementation of Silverlight that is based on web standards and modern web technologies such as WebAssembly.
OpenSilver is a modern, plugin-free, open-source reimplementation of Silverlight, that runs on current browsers via WebAssembly. It uses Mono for WebAssembly and Microsoft Blazor. It brings back the power of C#, XAML, and .NET to client-side Web development.
Since it is no longer provided as a plugin, it is compatible with (most) modern web browsers and should run fine in those.
One component, CSHTML5 allows developers to make web apps using C# and XAML. It comes with a tool to port existing Silverlight and WPF applications to the web by "compiling C# and XAML files to HTML and JavaScript".
Interested developers may download the preview release from the OpenSilver website. A Microsoft Account is required to download the preview to the local system. Additional information is provided on the project's GitHub website.
About 60% of Silverlight APIs are currently supported. Userware plans to improve API support in the coming months and add support for Open RIA Services, AOT compilation and third-party libraries. Ahead of Time (AOT) compilation will speed up loading times by "at least 30 times" when it lands.
The company launched a conversion service to convert existing Silverlight applications to the modern version so that it may run on websites without plugin requirement.
Interested users may load the demo from here to check out the functionality that is currently available.
Now You: Have you used Silverlight in the past? What is your take on the resurrection?
Out of curiosity, which (popular) webservice requires Silverlight. I haven’t had SL on my PC since years and haven’t notice sites needing it…
I know it was required for the SCOM webconsole and SCCM App Portal. If you installed an sccm client silverlight used to be installed as well, but I think that’s no longer the case in recent versions.
Netflix used to require Silverlight for resolutions above 720p.
@Nico Weytens
Silverlight is pretty much dead, with it’s final release in 2019.
https://en.wikipedia.org/wiki/Microsoft_Silverlight
Microsoft was or will likely the last to require it, with their tutorial videos and such.
classicartsshowcase.org was the last non-Microsoft site I know of that required Silverlight to play the video.
The web needs more animation so why the hell not?
Especially if it’s without plugins and using open technologies
I disagree. The web needs less content that puts stress on your CPU and RAM. It is already a freakshow full of bloat.
I think it was sarcasm
Freakshow of bloat is due to Javascript and ads. If you know how to block HTML5 video autoplay and Javascript wreaking havoc with your pages, then you are ahead of the curve. Simple animation has got nothing to do with it.
Silverlight never took off. This project is somewhat interesting, but I do personally believe websites should be kept simple and devoid of eyecandy. There may be a number of serious ways to employ this project, so I am not opposed to it.
I wonder what the rationale behind this project is. Do we need Sliverlight mark 2, aka OpenSilver? Not in my humble opinion.
“It uses Mono for WebAssembly and Microsoft Blazor.”
Is it for MS Windows only? That would make sense, for that OS doesn’t have enough flaws and vulnerabilities :-)
I would assume it’s primarily for archival purposes, to allow people using modern web browsers to access legacy projects that were built for Silverlight. Similar to Mozilla’s (discontinued) Shumway project for Flash.
Unfortunately, one site I have to use (government) must have SL. This is the only reason I ever fire up IE. I do this from a Windows VM in case the nasties come knocking.
I also can’t do any web automation on this site since I don’t know how or want to know how to debug SL apps. UGLY!
XAML makes me like it. .NET makes me not like it so much.
What’s the real purpose here? …simply migrating from current Silverlight implementations? I think it may be too late for that except for those who had no plan for moving forward (and were just waiting for the end).
I hated Silverlight. It hijacked my webcam and spied on me. It hasn’t been on my Windows computer for years.
Never used it, (probably; most likely) never will. But good on Microsoft for making it open source.
Oh My God !
Silverlight ? !!
Not this crap !! again ?? …… thank GOD I switched to Linux !!
Peter Newton [London UK]
@Peter Newton
God helped you switch to Linux?
Please give more details about this religious experience, as I’m writing a related book:
The Linux Devotee’s Bible of Religious Crazy Talk
I never knew what Silverlight did, still don’t. Just one of those periodically deleted things that reappeared with updates, like Google Earth. Present or not, didn’t seem to make any difference in browsing.
The name is cool.
Today we have Widevine and Open H264, neither of which seem to do anything off or on beside collect data, so off they go.
From the start till the end of Silverlight I never use it. It’s not required or even mentioned on all website I visited. I only found out about Silverlight because some news site mentioned it. I wonder if it really exists?
The only website I ever used Silverlight for was Netflix. Do they still use that, or have they moved on? I mainly just watch Netflix on my TV nowadays, so I’m not sure.
I used it for Netflix too, on winXP with older browsers from 2014 – 16. Netflix is all html5 now, with widevine for drm.
I commented on Silverlight and the problem with WebAssembly two days ago, but this never appeared. I saw that the anti-IH bashing session was removed from comments too and I can understand that, but my comment had nothing to do with that.
Hold on, isn’t this what Uno Platform has been doing all along – http://www.platform.uno – essentially C# and XAML on the desktop, mobile and web – also using WebAssembly
May the Linux God forgive and protect ye, from all of your wicked Windows ways my child !
I pray that ye shall receive the blessing of the great Tux, The Penguin, and ye miss-spent
Microshaft/Papple past will dissolve into emptiness, to be replaced with genuine knowledge
and wisdom.
May Tux bless you, in the name of the beak, the webbed foot, and the flipper, ah-kernel 5.4.
Peter Newton [London UK]