News

OpenSilver 2.2 Aims to Revive Visual Studio LightSwitch Legacy Apps

OpenSilver 2.2 debuted today with a focus on helping developers revive Visual Studio LightSwitch legacy applications.

OpenSilver was created as an open source alternative to Microsoft Silverlight, a popular, cross-platform web application framework for creating multimedia-rich and interactive web applications that was discontinued by the company, causing much developer angst. It lets developers write web applications using .NET, C# (or VB.NET or F#) and XAML, like Silverlight.

In the new release, announced today (April 30) by Userware, the focus is on LightSwitch, a circa 2010 no-code, drag-and-drop, rapid-development tool in the Visual Studio family that was aimed at developers who wanted to quickly create data-centric business applications for the desktop and the cloud. It was powered by the discontinued Silverlight plugin.

Microsoft has said there are now more connected and relevant choices for business app development, and it no longer recommends LightSwitch for new apps.

Legacy apps remain, though, and OpenSilver 2.2 seeks to help developers maintain and modernize them by, for example, enabling them to run on modern browsers via a new LightSwitch Compatibility Pack, available for trial signup.

Now, the company said, organizations can port legacy apps rather than rewrite them while maintaining the functionality and look of the original apps.

OpenSilver Showcase
[Click on image for larger view.] OpenSilver Showcase (source: Userware).

That's done by enabling developers to compile existing LightSwitch applications to modern technologies including HTML5 and WebAssembly, which lets the apps run on all modern browsers -- including Edge, Chrome, Firefox, Safari and Opera -- without any plugins.

Userware said migrating apps with the LightSwitch Compatibility Pack offers these advantages over a full rewrite:

  1. Cost Efficiency: Migration is significantly less expensive than rewriting applications from scratch.
  2. Speed: Transition timelines are drastically reduced.
  3. Risk-Free: A guaranteed fixed price for end-to-end migrations, ensuring that there are no financial surprises.
  4. Fidelity: The migrated applications are indistinguishable from the original, both in terms of functionality and GUI.
  5. No User Retraining Needed: Since the application remains the same, there is no need for end-user training.

Regarding bullet point No. 3 above, while the project is open source, Userware offers for-pay services for help with migration along with professional service subscriptions that provide, for example, consulting.

The tool is not yet integrated with Visual Studio 2022, with the company saying: "Currently, the LightSwitch Compatibility Pack for OpenSilver 2.2 supports the runtime environment for LightSwitch applications.

"While the Visual Studio editor for drag-and-drop app creation has not yet been ported to OpenSilver, developers can continue using the LightSwitch editor in the legacy Visual Studio. We have plans to integrate this functionality in our roadmap, aiming to provide a seamless development experience across all platforms."

That roadmap also includes:

  • Drag-and-drop XAML UI Designer: Streamlining the UI development process for a more intuitive design experience.
  • .NET MAUI Integration: Enabling the creation of applications that can run across iOS, Android, Mac, and Windows platforms.
  • XAML Hot Reload, CLI, VS Code, macOS, and Rider Support: Enhancing productivity and flexibility in development environments.

The post includes links to live demo sample applications, before and after migration.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events