News

OpenSilver Gets Closer to Open Source Parity with Long-Dead Microsoft Silverlight

OpenSilver 1.0 arrived a year ago on the same exact date that Microsoft Silverlight's official support life ended, providing an open source alternative to the developer favorite that effectively died years earlier. Now, it has been updated to v1.1, getting closer to feature parity with the framework it was designed to replace.

Microsoft Silverlight, delivered via a web browser plug-in, enabled interactive media experiences, rich business applications and immersive mobile apps. It was especially useful for rich web applications, with functionality that was similar to Adobe Flash such as playing music, videos, animations and so on.

Silverlight
[Click on image for larger view.] Silverlight (source: Microsoft).

The web-dev framework was so popular that its deprecation caused years-long angst among developers who loved it and felt betrayed when it was killed. It became synonymous with Microsoft's purported practice of investing heavily in a new technology that gains traction among users only to be discontinued, effectively leaving them and many existing projects in the lurch.

That angst was so pervasive that we last year wrote the article, "A Decade Later, .NET Developers Still Fear Being 'Silverlighted' by Microsoft." That was followed up a couple months later with the article, "OpenSilver v1.0 Arrives as Microsoft Ends Silverlight Support."

Now, almost exactly a year on from the official death of Silverlight and birth of OpenSilver, the latter has been updated to v1.1.

The OpenSilver site describes it as a modern, plugin-free, open source reimplementation of Silverlight that can run complex legacy applications as well as newly written C# and XAML applications. Coming from a dev team funded by the company Userware, its development is conducted on GitHub.

Userware's vision is described thusly: "We are .NET developers who believe that Silverlight was the best platform ever for developing line-of-business (LOB) applications. We are sad to see Silverlight die due to the lack of support for plug-ins in modern browsers, so we want to reimplement it using modern, open, and standards-based technologies. We want to make it even more powerful than before, for developers to have the tools to build amazing products that can change the world."

The v1.1 update includes new Xaml updates relating to core features such as animation, bindings, triggers, virtualization and so on, along with improvements to existing Xaml features. Userware said it also boosts performance, fixes many bugs, improves on simulator and VSIX functionality and more.

The XAML Features Section of the OpenSilver Showcase
[Click on image for larger view.] The XAML Features Section of the OpenSilver Showcase (source: Userware).

Specific highlights include:

  • More than 100 new Silverlight features, including:

    • New DataGrid: based on the original code from Microsoft, the new DataGrid is feature-packed and offers pixel-perfect backward compatibility
    • Silverlight Toolkit: most controls are now supported in OpenSilver, including: DataForm, Accordion, AutoCompleteBox, DataPager, LineSeries ...
    • Improved layout system: OpenSilver now supports the "Measure" and "Arrange" Silverlight APIs for creating custom panels and layouts
  • Support for additional third-party libraries, including Telerik UI: While last year's v1.0 release of OpenSilver already supported most of the popular Silverlight libraries, including RIA Services, PRISM, MEF, Unity, OData, MVVM Light and Newtonsoft, the new v1.1 release adds support for more libraries, including:

    • SignalR
    • Caliburn.Micro
    • PostSharp
    • Blacklight Controls
    • Google Protobuf
    • Reactive Extensions
    • MS Expression Interaction/Behaviors
    • Microsoft Enterprise Library
    • 3x improvement in performance over v1.0
  • Telerik UI components that are said to now work flawlessly include (among dozens of others):

    • RadGridView
    • RadRibbon
    • RadScheduleView
    • RadTreeListView
    • RadChart
  • Performance improvements that are said to derive from new features like virtualization, .NET 7 support and several major optimizations. "On average, we improved performance by up to 3 times" said Giovanni Albani, CEO of Userware. "We've observed this while porting Silverlight business apps to OpenSilver for our clients. Some portions of their applications now run even faster in OpenSilver than in their original Silverlight version."

As for what's coming up, one major new feature will be support for VB.NET in the browser, expected to come in OpenSilver 2.0, which is planned for release early next year.

"This will make OpenSilver the only technology out there that supports VB.NET and XAML to build web apps," Albani said. "It will throw a lifeline to the huge number of Visual Basic developers that are out there, and that are sad to see their favorite programming language being progressively abandoned. As we are flooded with requests for assistance to migrate VB.NET Silverlight applications, we believe that this feature will find a lot of interest in the Microsoft developer community."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube