OpenSilver 2.1 Adds F# Support
Written by Alex Denham   
Tuesday, 06 February 2024

OpenSilver 2.1 has been released with improvements including support for F#. The open-source alternative to Silverlight is capable of running large, complex legacy applications, as well as newly written C# and XAML applications.

OpenSilver was first released in 2021 at the same time as Microsoft dropped support for Silverlight. OpenSilver uses Mono for WebAssembly and Microsoft Blazor to enable developers to use C#, XAML, and .NET for client-side Web development.

opensilvericon

The headline improvement to the updated version is the addition of support for F#. The OpenSilver team says:

"the integration of F# in OpenSilver 2.1 bridges the gap between functional programming and the development of rich, interactive web UIs. This combination allows developers to enjoy the benefits of both worlds: the expressive and concise syntax of F#, and the powerful, declarative nature of XAML for UI design."

Alongside the F# support, the OpenSilver team has migrated the the original "Silverlight Toolkit Samples" app by Microsoft with almost no changes to the code. OpenSilver users can try it in their browser without the need to install a plugin at OpenSilver Gallery.

themes in OpenSilver 2.1

Another improvement in version 2.1 is support for theming, with twelve themes available, ported from the Silverlight toolkit, and fully customizable. The Gallery page has been improved with 100 small F# samples. There's also an open-source sample CRM and a preview of a 3D and VR/AR web app created with OpenSilver (via XR#).

Elsewhere, the animation system has been improved, and new controls have been added. The animations have been fully reimplemented, and all the animations types supported by Silverlight are available. All the easing functions supported by Silverlight have been implemented, as have all the key frames supported by Silverlight (Discrete, Linear, Easing and Spline key frames).

OpenSilver 2.1 is available now. 

opensilvericon

More Information

OpenSilver website

OpenSilver Gallery

Source code on GitHub

Related Articles

OpenSilver 2 Adds Support For VB.NET

OpenSilver 1.1 Released Offering 99% Silverlight Compatibility

Silverlight Lives On With OpenSilver

OpenSilver - Silverlight Reborn?

Silverlight is dead, long live Silverlight?

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


A Tee Is Not Just For Xmas - Top Tees
20/12/2024

Programmer gifts - easy idea, difficult implementation.  Here's our pick of tee-shirts for giving, buying or just wearing at any time of the year.



Linkerd Adds Egress And Rate Limiting
05/12/2024

Linkerd has announced a new version of its service mesh. It adds three major new features: egress traffic visibility and control; per-service rate limiting; and federated services.


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 06 February 2024 )