Userware Releases XAML For Blazor
Written by Kay Ewbank   
Monday, 10 July 2023

Userware has announced the release of XAML for Blazor, an extension for Blazor WebAssembly that gives .NET developers an expanded choice in coding methods, and a pathway for integrating code from XAML-based applications such as WPF, Silverlight and WinUI into web applications.

xaml for blazor banner

Userware's CEO Giovanni Albani described the extension as:

"combining the familiarity of XAML with the versatility of Blazor, allowing developers to leverage their existing skills and incorporate the HTML/CSS/Razor approach when needed."

XAML for Blazor is distributed as a NuGet package, and means developers can use XAML files and Razor files together, creating UserControls with Code-behind and referencing them from Razor files. It also lets developers use XAML features such as data binding, templating, animations, and follow the MVVM pattern. The extension renders XAML as plain HTML in the same DOM as Razor, which shares the same memory, and WASM thread, so supporting direct object sharing between components, such as passing a Blazor collection to the XAML built-in DataGrid control.

XAML for Blazor is powered by OpenSilver, an open-source reimplementation of Microsoft Silverlight, and the Userware team says the integration is not limited to XAML, as any OpenSilver feature can now be used within Blazor WebAssembly projects, including RIA Services, WCF SOAP, PRISM, MEF, and enterprise-centric controls like DataGrid and DataForm.

BlazorAPP1

 

Using the extension is simply a matter of referencing the "XamlForBlazor" NuGet package in their Blazor Client-Side WebAssembly project and adding some XAML files. A Visual Studio extension (VSIX) is also available. The extension is available in a Free Edition for exploratory use, or Professional and Enterprise Editions for commercial applications.

The developers plan to extend support to Blazor Server applications and to introduce a UI designer.

xaml for blazor sq

More Information

XAML For Blazor Website

Related Articles

OpenSilver 1.1 Released Offering 99% Silverlight Compatibility

WPF .NET Core - Creating Objects With XAML

.NET 8 Preview 3 Improves ASP.NET Core

Progress Telerik Improves MAUI And Blazor Support

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


The Single Issue Of 2025 - AI
01/01/2025

We have spent a lot of time talking about AI and its impact on programming over the past year, but the new year will confirm that it's a game changer or just another passing fad. It is the one big iss [ ... ]



European Robotics Hackathon 2025 Open For Entries
17/01/2025

ENRICH 2025, the European Robotics Hackathon, is open now for team entries. To be held at the Zwentendorf Nuclear Power Plant in Austria, the aim is to develop robots that can carry out tasks in a nuc [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info