Recent UWP & .NET 5, .NET 6 News and Uno Platform Plans

You might have caught the news that Microsoft will not invest in moving UWP to .NET5/6. Naturally this raised questions about how Uno Platform is affected, especially as Uno Platform also ships in lockstep with .NET.   The short answer is – this news does not change anything for our users as Uno Platform has been architected to support both UWP as well as WinUI 2.x / 3. We intend to continue this support for as long as these are supported platforms at Microsoft as it is straightforward and automatic for us to support both. For the long answer – the important part is to understand what UWP is. UWP is a combination of an app model with isolation (the sandbox) and APIs (WinUI+WinRT). Uno Platform has been all about implementing the APIs, while leaving the app model to the underlying platform.   If you’re running an Uno Platform app on iOS, Android or the Web with WebAssembly, the app will need to play along with the sandbox that the system provides.  Uno supports both the Windows.UI.Xaml (a.k.a WUX, bundled with UWP) and Microsoft.UI.Xaml (a.k.a MUX available in WinUI 2.x and WinUI 3/WinAppSDK). Uno provides support for those through the Uno.UI.* and Uno.WinUI.* NuGet packages respectively, and are built from the same source code.  If you’d like to move from WUX (UWP) to MUX (WinUI 3), and also want to take advantage of

Uno Platform 3.10: Day-0 support for .NET 6 RC1, WinUI InfoBadge, Windows 11 Fluent Styles

We continue to evolve Uno Platform in lockstep with the latest Microsoft developer platforms and tooling. Our 3.10 release supports .NET 6 RC1, latest developments in WinUI and Windows 11 Fluent Styles (aka “Sun Valley”).  We are following developments in .NET 6 and Visual Studio 2022 until their general availability and look forward to bringing to you all the productivity, performance and stability benefits this latest wave of innovation from Microsoft is enabling for all of us. In addition, we closed over 150 new features and issues requested by our community and clients, as well as added 30+ samples to our documentation. Let’s unpack the release. About Uno Platform For those new to Uno Platform – it allows for creation of pixel-perfect, single-source C# and XAML apps which run natively on Windows, iOS, Android, macOS, Linux and Web via WebAssembly. Uno Platform is free and Open Source (Apache 2.0) and available on GitHub. .NET 6 RC1 .NET 6 RC1 contains many changes to get Android and iOS apps running better in Visual Studio. Uno Platform .NET 6 binaries are now built with RC1, and to get your machine setup, your can use uno-check as follows: dotnet tool install -g Uno.Check –version

Uno Platform SQLite for WebAssembly support on .NET 5 and .NET 6

WebAssembly Support for SQLite and Erik Sink’s SQLitePCL.raw has been present in Uno Platform for quite some time now, when running under the mono runtime but .NET 5+ support was missing. We’re pleased to announce that support has now been added in our SQLite provider for WebAssembly starting from 3.1.1, allowing to build with the latest and greatest features available, alongside with Entity Framework Core 6 previews and the Frank Krueger‘s awesome sqlite-net-pcl library. We’ve updated our online sample repository for you to try SQLite and EntityFramework Core directly in your browser: https://sqliteefcore-wasm.platform.uno   Getting started using SQLite in your browser You can find an up-to-date documentation for this walkthrough here, the full example for this tutorial here, and Entity Framework Core sample here. First, you’ll need to setup your environment using our getting started steps. Once you’re done, you can create a new application using our visual studio extension or dotnet new templates. You’ll then need to add new dependencies in your application as follows: <PackageReference Include=”sqlite-net-pcl” Version=”1.7.335″ /> <PackageReference Include=”Uno.SQLitePCLRaw.provider.wasm” Version=”3.1.1″ /> <!– Required when using sqlite-net-pcl which otherwise overrides the WebAssembly compatible version of the SQLitePCL.raw provider. –> <PackageReference Include=”SQLitePCLRaw.bundle_green” Version=”2.0.5-pre20210521085756″ IncludeAssets=”none” />   Once done, in

Uno Platform sponsors .NET Foundation

We are happy to announce Uno Platform is sponsoring the .NET Foundation, joining the ranks with Microsoft, AWS, VM Ware, Progress Telerik, DevExpress, Octopus Deploy and Endjin, as well as many other individual contributors in supporting this great cause. The .NET Foundation is an independent, non-profit organization established to support an innovative, commercially friendly, open-source ecosystem around the .NET platform. For those new to Uno Platform – it allows for creation of pixel-perfect, single-source C# and XAML apps which run natively on Windows,  Web, Linux, macOS, iOS and Android. Uno Platform is free and Open Source (Apache 2.0) and available on GitHub. As Uno Platform is a great beneficiary of many projects which are a part of .NET Foundation, it is a logical step is to help the foundation out in every way possible. You will be able to hear more about this at “Focus on Windows” .NET Foundation conference. We look forward to working closer with all open-source developers and hope other organizations will join in and support the .NET Foundation as well. Sasha Krsmanovic. CMO, Uno Platform

Webcast: What’s new with Uno Platform, .NET 5 and WinUI 3 Preview 3

TLDR: On December 17th we will hold our first office-hours-style webinar to tell you all about our support for .NET 5 and WinUI 3 Preview 3. Register now. Adding support for .NET 5 in Uno Platform creates multiple opportunities to improve performance and reduce solution complexity. With .NET 5, we can better target traditional Microsoft Windows targets, but also WebAssembly, Linux, macOS, iOS and Android. In addition, WinUI 3 Preview 3 was released, taking another step towards the final release. As we blogged already, we had day-0 support for this release thanks to the close relationship with WinUI engineering team Come join us for a 30 minutes overview of how Uno Platform takes advantage of .NET 5 and WinUI, as well as for live Q&A with our CTO Jerome Laban.   About the Uno Platform For those new to Uno Platform – it allows for creation of pixel-perfect, single-source C# and XAML apps which run natively on Windows, iOS, Android, macOS, Linux and Web via WebAssembly. Uno Platform is free and Open Source (Apache 2.0) and available on GitHub. The best way to get started with the Uno Platform is to check out the Getting Started guide (< 10 minutes to complete)  

Uno Platform 3.2: .NET 5, C# 9 support and .NET 5 WebAssembly AOT Support

The 3.2 release is loaded with features and performance improvements. Most of the release focused on upcoming .NET 5 and all benefits Uno Platform gets from building on top of it. However, we are also releasing improvements to the controls and tooling we introduced in previous releases. Adding preview support for .NET 5 and .NET 5 WebAssembly AOT The .NET team has been working hard to add WebAssembly support for .NET 5, and we’ve been able to leverage this work to update Uno and provide a preview of this support. This update gives the ability for Uno Platform apps to use the .NET 5 APIs and features, like C# 9.0 and its source generators, records, pattern-matching-enhancements and others interesting features. But that’s not all! The .NET 5 WebAssembly support comes with the IL interpreter runtime, but also brings the AOT support that was already present in the Mono Runtime that Uno Platform currently uses, giving a performance boost of 7-15x compared to the IL interpreter. To get this support, the Uno WebAssembly Bootstrapper has been updated to include the AOT runtime for .NET 5, while keeping the support for the Mono 6.x WebAssembly support (using the netstandard2.0 target framework for

WebAssembly tools, frameworks, and libraries for .NET Developers

WebAssembly provides a way to run code written in multiple languages on the web at near-native speed, with client apps running on the web that previously couldn’t have done so. This is why it’s gaining quick adoption and more awareness in the web community. Using the WebAssembly JavaScript APIs, you can load WebAssembly modules into a JavaScript app and share functionality between them. This blog post is a part of the Introduction to WebAssembly for .NET Developer Series on Uno Platform blogs For you as a .NET developer, this means you can write code in C# and run it in the browser. This can be libraries that you can compile into a WebAssembly module or an app built entirely using C#. Using .NET for client-side WebAssembly development offers advantages such as: – Leverage the existing .NET ecosystem of .NET libraries. – Benefit from .NET’s performance. – Stay productive with the same tools you use for Web or Desktop development on Windows, Linux, and macOS. – Build on a common set of languages, frameworks, and tools that are stable, feature-rich, and easy to use. In this post, I’ll share with you different tools and libraries that you can use to build

DotNetConf 2020, .NET 5, Uno Platform and Prizes to be Won

Uno Platform is sponsoring DotNetConf 2020 – the place where .NET 5 will debut! You should register for DotNetConf – it is coming up from November 10-12. Not only will you learn about .NET 5 but there will be plenty of prize giveaways by Uno Platform and other sponsors. For the Treasure Hunt we will be giving out Nintendo NES – the best way to re-live the good old days of gaming with all-time favorites like Super Mario, The Legend of Zelda, Donkey Kong, PAC-MAN etc. And for the big prize we have created the ‘Ultimate work-from-home Bose headphone pack’ consisted of Bose Noise Cancelling Wireless Bluetooth Headphones 700 and Bose SoundSport Wireless Earbuds.   Read on to see how you get the most form the event and follow-up activities. Webinar: Uno Platform and .NET 5 (Dec 17th, 2020, Noon EST) .NET 5 creates multiple opportunities for Uno Platform to improve performance and reduce solution complexity. With .NET 5, we can better target traditional Microsoft Windows targets, but also WebAssembly, Linux and macOS. Come join us for a 30 minutes overview of how Uno Platform takes advantage of .NET 5, as well as for live Q&A with our CTO Jerome

Introduction to WebAssembly for .NET Developers: Building with Uno Platform, XAML, and C#

In a previous post on WebAssembly, we briefly introduced the concept of WebAssembly and what framework/library you need to build WebAssembly apps with .NET. This post will be more practical. I’ll show you how to build a web application utilizing WebAssembly with .NET, XAML, and C#. You’ll build a simple XAML app with some form controls to collect data and display that data in a ListView. Here’s how the app you will build will look like: Guest post by Peter Mbanugo. At the end you’ll learn: – How to create a WebAssembly .NET project. – How to deploy the web app. – Set up your computer for WebAssembly app development with .NET Core and Uno platform. In order to easily follow along, you need to have some knowledge of C# and either XAML, Windows Forms, or WebForms, but I’ll be chiming in with some context so that even if you’ve never worked with XAML, you can easily follow along. Project Set-Up You can build Uno platform apps for WebAssembly, Windows, Linux, macOS, and the different mobile OS. The setup is different for each platform but I’ll detail the steps for creating an Uno project using both Visual Studio and VS