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 convey an present Home windows Presentation Basis (WPF) utility to the net. Builders can analyze a compiled WPF app for internet compatibility, import a WPF challenge to run it within the browser, or interact Userware for an end-to-end migration. The expertise 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 utility sometimes modifications, Userware migrated Household.Present, the superior WPF reference utility Vertigo initially constructed for Microsoft quickly after WPF launched. The consequence 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 – Aspect-by-side screenshots of Household.Present, a sophisticated WPF reference app, operating as a local Home windows desktop app (left) and as an online app within the browser by way of 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 utility must be put in and stored 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 nicely. Customers can open the app from any machine with a browser (desktop, pill, or telephone), and the identical C#/XAML codebase may also ship as desktop and cell apps. And since OpenSilver renders the interface as commonplace 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 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 reviews, characteristic by characteristic, what runs on OpenSilver right now, what wants adaptation, and what’s blocking, with an exportable report. The app’s binaries are processed domestically within the browser; solely an aggregated record of unsupported options is distributed 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 applying runs, with the precise file and line, and with out crashing it. The compatibility layer behind the tooling at present ships 8 Roslyn analyzers and 16 automated code fixes, and its WPF protection retains increasing.
The app additionally appears to be like 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 unique; 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 applying.
The total Household.Present migration is printed, so anybody can examine the declare as a substitute of taking an adjective for it: evaluate the reside migrated app, its supply on XAML.io, and the unique WPF supply aspect by aspect. 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 connection and is then cached for subsequent visits; runtime efficiency for an app of this sort is strong. A brief video of the end-to-end migration is within the launch write-up.
“WPF isn’t going wherever on the desktop. However numerous these apps now must reside on the internet too. Meaning reachable from any machine, 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 preserve your unique C# and XAML and make the framework help what your app already does, so that you keep away from regressions and preserve a codebase your staff nonetheless understands.”
“For a severe utility, the trustworthy reply is that the migration is a challenge, 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 may compile and take a look at, and your staff can preserve working the entire time. We’ve finished 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 characteristic paywall. The Compatibility Analyzer is powerful for apps of any measurement, whereas in-browser supply import is at present a Know-how Preview greatest suited to small to mid-size, self-contained initiatives. For manufacturing migrations of any measurement, Userware gives non-compulsory skilled companies and help, and prospects 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 will not be but supported within the self-serve instruments and are dealt with inside managed migrations. Userware’s roadmap consists of broadening WPF protection, one-click internet publishing, cell and signed desktop publishing, and VB.NET help.
XAML.io is accessible now, free to make use of and runs in any trendy browser.







