OpenSilver
OpenSilver is an open-source framework designed to facilitate the development of rich internet applications using C# and XAML. It was developed as a successor to Microsoft Silverlight, enabling developers to migrate existing Silverlight applications to the web without rewriting their codebase. This framework is built on current web standards, including HTML5, CSS3, and WebAssembly, ensuring broad compatibility across modern web browsers regardless of the operating system without requiring plugins.
OpenSilver is a community-driven project that is freely available for anyone to use, modify, or improve. It operates under the MIT license. It is compatible with Microsoft's.NET platform, allowing developers to use C#, VB.NET, F#, and XAML for application development, thereby maintaining a familiar development experience for those from a Silverlight or WPF background. Over the past two years, OpenSilver's release 2.2 has positioned itself as an advanced web framework designed for line-of-business applications.
Until the end of 2024, releases 3.0 and the version 3.1 bring several key features such as XAML designer for Visual Studio Code, improvements of WPF support, and support for.NET 9.
As of March 2025, OpenSilver version 3.2 introduces support for porting Silverlight and WPF applications to web, mobile, and non-Windows desktop platforms.
History
In 2014, Userware, founded in 2007 and led by Giovanni Albani, launched CSHTML5, a precursor to becoming OpenSilver. This initiative began efforts to provide a contemporary alternative to Microsoft Silverlight in 2020, focusing on open-source development. As technology progressed and the need for modern web application frameworks grew, CSHTML5 evolved, culminating in the creation of OpenSilver 1.0 in October 2021. OpenSilver aimed to seamlessly integrate Silverlight's legacy capabilities with the demands of modern web development.The inception of OpenSilver was motivated by the discontinuation of Silverlight and the need for a robust solution that allows legacy Silverlight applications to continue functioning in a modern web environment. By providing a path forward for these applications, OpenSilver helps preserve the investment made in Silverlight-based projects while taking advantage of the advancements in web technology.
Technology
OpenSilver integrates three main components:- Compiler - Converts XAML into C# equivalents and copies resources, such as images, to the output folder.
- Runtime - Bridges the HTML DOM and the XAML code.
- Simulator - Allows developers to debug OpenSilver web applications like desktop applications.