Tuesday, July 7, 2026
HomeSoftware DevelopmentXAML.io provides "Migrate from WPF": run an current WPF utility on the...

XAML.io provides “Migrate from WPF”: run an current WPF utility on the internet

-


Paris, France —  Userware right now launched model 0.8 of XAML.io, the free web-based .NET IDE, including Migrate from WPF: free, in-browser instruments that deliver an current Home windows Presentation Basis (WPF) utility to the net. Builders can analyze a compiled WPF app for net compatibility, import a WPF undertaking to run it within the browser, or have interaction Userware for an end-to-end migration. The know-how is powered by OpenSilver, Userware’s open-source framework that runs WPF-style C# and XAML on the internet by compiling to WebAssembly and rendering XAML as actual HTML DOM parts.

To point out how little of an utility sometimes modifications, Userware migrated Household.Present, the superior WPF reference utility Vertigo initially constructed for Microsoft quickly after WPF launched. The end result runs reside within the browser, with 97% of the unique code unchanged, a determine measured as a line-by-line diff of the C# and XAML recordsdata between the unique and migrated codebases:

Determine 1 – Facet-by-side screenshots of Household.Present, a complicated WPF reference app, operating as a local Home windows desktop app (left) and as an internet app within the browser through XAML.io/OpenSilver (proper). 97% of the unique code is unchanged.

WPF is a mature, highly effective framework for Home windows desktop growth, and it isn’t going anyplace. What pushes groups to place these functions on the internet is how they get delivered, secured, and accessed. As we speak a WPF utility needs to be put in and saved updated on each person’s machine. On the internet, that per-machine set up disappears: IT deploys as soon as and ships updates to everybody in a single click on, so nobody is left operating an outdated model.

Safety modifications too. The app runs contained in the browser’s sandbox, the identical mannequin organizations already belief for each web site they use. Nothing is put in on the endpoint, and the app has no standing entry to the person’s machine.

Attain modifications as properly. Customers can open the app from any system with a browser (desktop, pill, or cellphone), and the identical C#/XAML codebase may ship as desktop and cellular apps. And since OpenSilver renders the interface as commonplace HTML somewhat than portray it onto a canvas, migrated apps acquire browser-native accessibility (a basis for requirements similar to Part 508 and EN 301 549), textual content search, and integration with the remainder of the net.

Migration and not using a rewrite

XAML.io’s new migration instruments are constructed to ship these advantages and not using a rewrite, and the work begins with evaluation. The brand new free Compatibility Analyzer works for an utility of any measurement. It reads the compiled utility, identifies the WPF and platform APIs the app makes use of, and stories, function by function, what runs on OpenSilver right now, what wants adaptation, and what’s blocking, with an exportable report. The app’s binaries are processed regionally within the browser; solely an aggregated record of unsupported options is shipped to Userware’s server to generate the report.

The migration method is intentionally not an AI rewrite. Fairly than regenerating code, XAML.io preserves the unique C# and XAML and makes the framework help it, making use of solely small, seen modifications a developer can evaluate: unsupported C# is wrapped in compiler directives, unsupported XAML is annotated with feedback, and each automated edit is surfaced within the IDE as a warning. A runtime alert system goes additional, flagging stubbed or disabled code as the appliance runs, with the precise file and line, and with out crashing it. The compatibility layer behind the tooling presently ships 8 Roslyn analyzers and 16 automated code fixes, and its WPF protection retains increasing.

The app additionally seems the identical after it strikes to the net. On import, XAML.io mechanically applies a WPF look-alike theme so the net model matches the desktop authentic; groups that discover the basic WPF look dated can change to a contemporary theme and add responsive layouts to refresh the interface, with out rewriting the appliance.

The complete Household.Present migration is revealed, so anybody can test the declare as a substitute of taking an adjective for it: evaluate the reside migrated app, its supply on XAML.io, and the authentic WPF supply facet by facet. The migrated model can also be comparatively gentle for what it’s: the operating app, together with all the .NET runtime, is 8.1 MB compressed, and since OpenSilver wants no browser plugin, there may be nothing for the person to put in. Served from a CDN, it hundreds in a couple of seconds on an excellent connection and is then cached for subsequent visits; runtime efficiency for an app of this type is strong. A brief video of the end-to-end migration is within the launch write-up.

“WPF isn’t going anyplace on the desktop. However loads of these apps now have to reside on the internet too. Which means reachable from any system, centrally up to date, and operating contained in the browser’s safety sandbox as a substitute of with full entry to every person’s machine, with the accessibility and auditability the desktop by no means gave them,” mentioned Giovanni Albani, CEO of Userware. “What’s at all times made that painful is that it meant a rewrite, and that’s precisely what we take away. We maintain your authentic C# and XAML and make the framework help what your app already does, so that you keep away from regressions and maintain a codebase your group nonetheless understands.”

“For a severe utility, the trustworthy reply is that the migration is a undertaking, and that’s precisely what we do,” mentioned Darshin Vyas, VP of Gross sales at Userware. “It begins with a free compatibility evaluation and a fixed-cost quote. We ship in milestones you’ll be able to compile and check, and your group can maintain working the entire time. We’ve performed this for greater than 13 years, on over ten million traces of enterprise code.”

The self-serve instruments are utterly free, with no time restrict or function paywall. The Compatibility Analyzer is powerful for apps of any measurement, whereas in-browser supply import is presently a Know-how Preview greatest suited to small to mid-size, self-contained tasks. For manufacturing migrations of any measurement, Userware provides non-compulsory skilled companies and help, and prospects can sponsor the precise WPF options they want, which then ship to everybody within the open-source framework. That mannequin is what funds the free tooling. Third-party UI management suites should not but supported within the self-serve instruments and are dealt with inside managed migrations. Userware’s roadmap contains broadening WPF protection, one-click net publishing, cellular and signed desktop publishing, and VB.NET help.

XAML.io is accessible now, free to make use of and runs in any fashionable browser.

Related articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
0FollowersFollow
0FollowersFollow
0SubscribersSubscribe

Latest posts