19.1 C
New York
Tuesday, July 7, 2026

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


Paris, France —  Userware as we speak 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) software to the net. Builders can analyze a compiled WPF app for net compatibility, import a WPF challenge to run it within the browser, or interact 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 components.

To indicate how little of an software sometimes modifications, Userware migrated Household.Present, the superior WPF reference software Vertigo initially constructed for Microsoft quickly after WPF launched. The end result runs dwell within the browser, with 97% of the unique code unchanged, a determine measured as a line-by-line diff of the C# and XAML information 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 online 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 improvement, and it isn’t going wherever. What pushes groups to place these functions on the internet is how they get delivered, secured, and accessed. Immediately a WPF software needs to be put in and stored updated on each consumer’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 consumer’s machine.

Attain modifications as effectively. Customers can open the app from any machine with a browser (desktop, pill, or telephone), and the identical C#/XAML codebase also can ship as desktop and cell apps. And since OpenSilver renders the interface as normal HTML reasonably than portray it onto a canvas, migrated apps achieve browser-native accessibility (a basis for requirements akin to Part 508 and EN 301 549), textual content search, and integration with the remainder of the net.

Migration with no rewrite

XAML.io’s new migration instruments are constructed to ship these advantages with no rewrite, and the work begins with evaluation. The brand new free Compatibility Analyzer works for an software of any measurement. It reads the compiled software, identifies the WPF and platform APIs the app makes use of, and experiences, function by function, what runs on OpenSilver as we speak, what wants adaptation, and what’s blocking, with an exportable report. The app’s binaries are processed domestically within the browser; solely an aggregated checklist of unsupported options is distributed to Userware’s server to generate the report.

The migration method is intentionally not an AI rewrite. Relatively than regenerating code, XAML.io preserves the unique C# and XAML and makes the framework assist 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 computerized 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 at the moment ships 8 Roslyn analyzers and 16 computerized code fixes, and its WPF protection retains increasing.

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

The total Household.Present migration is printed, so anybody can examine the declare as an alternative of taking an adjective for it: examine the dwell migrated app, its supply on XAML.io, and the authentic WPF supply facet by facet. The migrated model can 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’s nothing for the consumer to put in. Served from a CDN, it hundreds in just a few seconds on connection and is then cached for subsequent visits; runtime efficiency for an app of this sort is stable. A brief video of the end-to-end migration is within the launch write-up.

“WPF isn’t going wherever on the desktop. However a whole lot of these apps now have to dwell on the internet too. Meaning reachable from any machine, centrally up to date, and operating contained in the browser’s safety sandbox as an alternative of with full entry to every consumer’s machine, with the accessibility and auditability the desktop by no means gave them,” stated 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 assist what your app already does, so that you keep away from regressions and maintain a codebase your group nonetheless understands.”

“For a severe software, the trustworthy reply is that the migration is a challenge, and that’s precisely what we do,” stated 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 possibly can compile and check, and your group can maintain working the entire time. We’ve accomplished this for greater than 13 years, on over ten million traces of enterprise code.”

The self-serve instruments are fully free, with no time restrict or function paywall. The Compatibility Analyzer is strong for apps of any measurement, whereas in-browser supply import is at the moment a Expertise Preview greatest suited to small to mid-size, self-contained tasks. For manufacturing migrations of any measurement, Userware provides optionally available skilled companies and assist, and clients can sponsor the particular 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 usually are 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, cell and signed desktop publishing, and VB.NET assist.

XAML.io is obtainable 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

Latest Articles