11

OpenSilver 1.0 released

 2 years ago
source link: https://opensilver.net/announcements/opensilver-release.aspx
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Introducing

October 12, 2021

Today we are thrilled to announce the release of OpenSilver 1.0

As Silverlight is reaching end of support, OpenSilver is now powerful enough to run complex line-of-business applications of all sizes.

What is OpenSilver?

OpenSilver is a modern, plugin-free, open-source reimplementation of Silverlight, capable of running large, complex legacy applications, as well as newly written C# and XAML applications.

Developers worldwide have poured great amounts of effort into building countless Silverlight applications over the past 15 years. OpenSilver provides them with an alternative to rewriting them. It lets their existing code run on every browser, so that they can leverage their .NET skills and focus on new improvements instead.

OpenSilver applications are compatible with all browsers that support WebAssembly, which include all major browsers (Edge, Chrome, Firefox, Safari...) on all major platforms (Windows, macOS, iOS, Android, Linux, ChromeOS...).

The project is hosted publicly on GitHub, and is actively developed by a large team of full-time developers, funded by Userware and corporations of all sizes investing in the technology to maintain their line-of-business applications.

Why OpenSilver?

The development of OpenSilver was motivated by the team’s strong belief that developers should not be compelled to rewrite existing applications because of a change in the underlying stack. The thousands of Silverlight applications still in production are a testament to this. Silverlight’s end of support was announced in 2011, as a technical roadblock presented itself: browsers would one day stop allowing plugins. Yet many developers remained committed for over ten years to what they considered to be a valid platform, as it worked just fine for their purposes. OpenSilver has worked on lifting Silverlight’s roadblocks and improving the underlying technology.

“OpenSilver is now mature enough to run complex line-of-business apps” says Giovanni Albani, CEO of Userware. ”We can now offer a modern, enhanced version of Silverlight and expand the realm of possibilities for .NET developers when it comes to web applications.”.

How does it work?

OpenSilver works just like Silverlight, but without the plugin.

Instead of using browser plugins, OpenSilver leverages WebAssembly to run applications directly and securely within the browser’s sandbox. WebAssembly files (.wasm) follow a W3C standard, and are natively recognized by all modern browsers, in the same way JavaScript, HTML, and CSS are.

No knowledge of JavaScript, HTML, or CSS is required to build a fully functional web application. Controller logic written in C# runs in the browser thanks to Microsoft Blazor. As for the presentation layer, OpenSilver adds support for XAML. This makes for a full .NET development experience.

OpenSilver applications run on every modern browser, across all platforms, including iOS, Android, Windows, MacOS, and Linux. A live example of application is available on the OpenSilver website.

To build your own application, simply download the free .VSIX extension for Microsoft Visual Studio 2019 (16.11+) or 2022, which installs the Project Templates to the "New Project" dialog.

How is a Silverlight application migrated to OpenSilver?

Developers can migrate an existing web application of any size using the OpenSilver Visual Studio extension. The extension helps developers create new projects from their existing code, replacing Silverlight API calls with their OpenSilver equivalent where appropriate. Additional steps are explained in the OpenSilver documentation.

As companies and developers undertake the porting of their application, a "Silverlight Migration Support Plan" is available to assist during the process or Userware can take care of the whole migration with the help of the core team. To get a quote for a turn-key migration, simply contact: [email protected]

You can also upload a XAP file (the Silverlight application executable) to quickly receive a quote. To do so, visit the Upload XAP page. Every feature implemented for a custom development is incorporated into OpenSilver.

Is OpenSilver missing any features of Silverlight?

OpenSilver fully supports the core capabilities of the Silverlight engine, including full language support (C#, XAML). Most of the platform APIs are supported, allowing developers to include major C# libraries such as Telerik UI, WCF RIA Services, PRISM, MEF, Unity, OData, MVVM Light, and Newtonsoft Json.NET. Most of the .NET Standard libraries on NuGet.org are supported and can be referenced directly.

Support for additional platform APIs and 3rd party libraries is continuously being added.

Does OpenSilver offer any improvements over Silverlight?

OpenSilver can leverage the latest C# language version 9.0 and the latest Visual Studio. It supports .NET Standard, .NET 5, and .NET 6, in addition to legacy Silverlight code. OpenSilver is also compatible with all JavaScript libraries (via interop), combining the best of both worlds.

Additionally, since OpenSilver relies entirely on open standards and runs within the browser’s sandbox, it enjoys wider browser compatibility, can better benefit from browser enhancements, and isn’t vulnerable to any security issues that a plugin might introduce.

Why remain in .NET instead of rewriting in a JavaScript-based framework?

With Silverlight being discontinued, thousands of companies have been hit with the prospect of having to discard their entire .NET-based front-end applications, and having to begin the arduous task of re-designing and re-developing them in JavaScript/HTML/CSS.

Such complete rewrites are sometimes draining for organizations. They are impactful to resources and costs, and have fluctuating timelines due to the unforeseen bugs and intangibles, putting the overall project at significant risk of delay or abandonment.

Thanks to OpenSilver, this scenario is no longer inevitable, as OpenSilver lets their development continue on their existing .NET codebase.

According to Darshin Vyas, Userware’s VP of Sales, the main advantage is cost. “Our clients estimate that a complete rewrite of a medium to large-sized application would have taken one to two years.”, says Vyas. “There is significant overhead in gathering requirements, developing new specifications, recruiting and onboarding for a new skill set, understanding the existing code, and developing and deploying on a new stack. OpenSilver eliminates this overhead. Some of our clients were able to slash their timeline in half or more, while spending a fraction of the rewrite cost.”

There are several other compelling reasons to stay on .NET, such as the reduced risk of keeping a stable codebase, the possibility to share C# code between the client side and the server side, and the availability of .NET libraries such as Telerik.

What’s next for OpenSilver?

The team is continually expanding coverage of Silverlight’s platform APIs, and improving OpenSilver’s ability to migrate WPF applications (in addition to Silverlight applications). Future versions of OpenSilver will also include new functionality, such as the ability to support applications written in VB.NET, and those using the Microsoft LightSwitch component.

Please stay tuned at OpenSilver.net for updates.

About the company

Userware is a software company founded in 2007 by two experts in Microsoft technologies. It is based in Paris, France, and has a portfolio of products with more than 25,000 customers in over 75 countries. Specialized in Microsoft technologies and developer tools, the company is also behind CSHTML5, a Visual Studio extension that is able to compile C# and XAML code into HTML and JavaScript. Userware has been continuously improving CSHTML5 for the past 7 years and is now leveraging its codebase to deliver OpenSilver, replacing JavaScript with WebAssembly for native execution and improved .NET compatibility.

OUR VISION:

“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.”

Acknowledgements:

OpenSilver wouldn't be possible without the amazing work by the incredibly talented people in the Mono for WebAssembly and Blazor teams at Microsoft.

Contact:

Please click here to contact us.

Press Room:

Please visit the Press Room for material including the Press Release, the logo, and more.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK