.NET

Skottie Now Available for SkiaSharp

Uno Platform contributed support for the Skottie component in SkiaSharp (a .NET binding for Skia). This addition now allows for any application using SkiaSharp to render Lottie animations and provide engaging user experiences on all the platforms already supported by Uno Platform. This new SkiaSharp preview update also provides support for Uno Platform WinUI targets as well as .NET 6 for Mobile https://youtu.be/UxuHbYlb1iw What is Skottie Skottie is a Lottie Animation Player. It is a performant native player for JSON animations. It can be used on any platform where Skia is used, including Android, iOS, Linux and WebAssembly. Skottie builds upon the Lottie player widely used for animations, improving on the performance, feature set, and platform cohesiveness.  Some samples of rendering with Skia’s animation player, courtesy of lottiefiles.com community  About Uno Platform For those new to Uno Platform – it allows for the creation of pixel-perfect, single-source C# and XAML apps that 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. In addition to multi-platform support, Uno Platform provides Figma integration to those who want to get XAML generated right from designs. Give it a

Uno Platform 4.1 Update for .NET 6 Mobile Preview 14

The .NET team has been steadily releasing a set of updates to the .NET 6 Mobile previews. Last week’s update was Preview 14, which came at just about the same time as Uno Platform 4.1 release. Following .NET 6 mobile Preview 14, we’re publishing the Uno Platform 4.1.9 service update.  This update includes a new set of binary breaking changes added in .NET 6 Mobile Preview 14, which requires the use of Visual Studio 17.2 Preview 2. If you update to Visual Studio 17.2 Preview 2, you will need to be on Uno Platform 4.1.9 or later.  To use this new preview in Uno Platform projects, you’ll need a few steps:  Update to the latest uno-check preview dotnet tool update -g uno.check –version 1.2.0-dev.10 and then run uno-check –pre Update your NuGet packages to Uno.UI.* 4.1.9 or create a new project from the templates If you’re building on a mac, either directly or through VS for Windows, you’ll need to run uno-check on the mac as well. Make sure that your Visual Studio 2022 Uno Platform extensions are updated to 4.1.9 (it should be automatically updated) Note that if you intend to build for iOS, Xcode 13.3 is required and that this version

Intro to Figma for .NET Developers

Developers and designers working together can often agree that the “handoff” is a dreaded pain point when collaborating. Every mistake made in the design handoff can impact the app and cause a rework for the developer. One tool that has been quickly gaining traction and has seen increasingly wide use with developers and designers is Figma. Now for those who are unfamiliar with Figma, it is a free, browser-based design tool that makes the developer handoff process smooth and seamless by allowing developers to readily access the full design files. In the Microsoft ecosystem, we have been using the likes of Expression Blend, Adobe XD, Sketch, and InVision. But Figma has skyrocketed in adoption among designers, as can be seen by a survey done by UX Tools. Even a quick Twitter poll we conducted in October 2021 showed Figma as one of the main design tool choices amongst developers. Given the UX Tools poll above, we can conclude that Figma is yet to get even more adoption among .NET developers. 3 Features that Make Figma Stand Out Above Other In our opinion Figma stands out above other options for following reasons: Collaboration With Figma, multiple team members can work on

Uno Platform 4.1 – 30% Perf Boost, Android 12, .NET 6 Mobile Preview 13 and more

It has been just over 3 months since our 4.0 release, and we’ve used that time to focus on performance as well as bringing the latest .NET 6 innovation to Uno Platform. By simply updating your application to the newest bits you will notice a significant boost to your app performance. This release packs over 200 new feature requests, bugs, and issues you raised. We welcomed a few great contributions from our community, which is now over 210 contributors strong! Thanks for all you bring to Uno Platform. Let’s unpack the 4.1 release. Performance updates For this release, we’ve made numerous changes to a wide range of parts from the Uno Platform, such as Style resolution, layout and measure pass performance, memory consumption and allocations which result in up to 30% performance improvements in some scenarios. Measure Dirty Path The measure pass (MeasureOverride and InvalidateMeasure) is an important contributor to the computations performed to layout the UI, and any optimization performed in this area can significantly improve the time to show the first UI or improve binding update. We’ve changed the way MeasureOverride is invoked when InvalidateMeasure is called, where previously all ancestors of a control would be re-executing MeasureOverride,

SQLite .NET, OneDrive & Uno Platform (Part 1)

  References, Tools, Frameworks & Operating System used. Items Links Windows 10 or 11 Download Windows 10 (microsoft.com) Visual Studio 2019 or 2022 Visual Studio: IDE and Code Editor for Software Developers and Teams (microsoft.com) Visual Studio Code Visual Studio: IDE and Code Editor for Software Developers and Teams (microsoft.com) Uno Platform Project Template Uno Platform Solution Templates – Visual Studio Marketplace SQLite .NET NuGet Package NuGet Gallery | SQLiteNetExtensions 2.1.0 Bogus .NET NuGet Package NuGet Gallery | Bogus 33.1.1 SQLite Explorer extension for Visual Studio Code SQLite – Visual Studio Marketplace Data persistence is a critical part of any software system (except when you’re trying not to be found 😉). it’s storage locations and types are of critical importance primarily because these factors into the speed of accessing transforming and visualizing of data. In the space of mobile and desktop applications, local store data is of prime importance because this delivers the feature of data persistence however, a problem arises when you want to share your data across several devices think accessing the number of due invoices from your phone when the data is stored on your laptop. This gives rise to a need for portability and syncing of

Uno Platform 3.11: Support for .NET 6 RTM, VS 2022 17.1 Preview 1

It was a busy week with 3 full days of .NET Conf – the exciting launch of .NET 6 and Visual Studio 2022. The scalability, reliability, and performance of Visual Studio 2022 have all been significantly improved. On our side the first tests of Uno Platform on .NET 6 RTM are showing great performance improvements on Visual Studio 2022 across several fronts, including Android and WebAssembly. More on this at our UnoConf…. Uno Platform 3.11 release ships 160+ features and bug fixes and adds support for  .NET 6 RTM with all related improvements.   As Microsoft had announced the delay for .NET 6 support for Android and iOS, we’ve re-introduced Xamarin-based templates for Visual Studio 2022. Additionally, the support for preview .NET 6 Android and iOS has now been moved to 17.1 Preview 1. In Visual Studio 2022, you’ll find now two templates: One named Multi-Platform App (UnoPlatform|xamarin), which uses the existing stable Xamarin “Classic”. It is the same as found when using Visual Studio 2019. One named Multi-Platform App (UnoPlatform|net6), which uses the .NET 6 preview support for iOS, Android, macOS and Catalyst and requires Visual Studio 17.1 preview 1. To use this new release, you can setup your

.NET 6 New Project Templates and Minimal APIs. Are you ready?

.NET 6 marks the completion of Microsoft’s plan to unify the different .NET implementations. The unification of .NET is not simply merging code from different sources into one API. There are quite some enhancements and new features that were added to the runtime and language. You’ve got: Improved Performance Hot Reload System.Linq enhancements Minimal Web API New features in C# 10 The goal for .NET unification is to simplify the choices and learning curve for new developers, and at the same time make it easier for experienced developers. That’s why the minimal APIs for hosting and routing in web applications, and new project templates were introduced. Simplified Start-Up Code and Minimal API The .NET SDK project templates were updated to use modern C# language features and patterns such as: Top-level statements async Main Global and implicit using directives File-scoped namespaces Target-typed new expressions Nullable reference types What does this mean? When you run the command dotnet new console to create a new Console project, this is what you get. csharp Console.WriteLine(“Hello, World!”); You can add more code to Program.cs, just like you can add more statements to the Main method in the old template. You can even add functions, which will be

.NET Conf 2021, .NET 6, Uno Platform. Prizes Available!

Join Uno Platform and the .NET community at this year’s .NET Conference. Hear all about the launch of .NET 6, take part in live sessions including one from our team, and plenty of chances to win awesome prizes. .NET Conf is a free, three-day, virtual developer event happening November 9th-11th, save the date and come celebrate the major release of the .NET development platform. In addition to exciting news about what you can do with .NET 6, you’ll have a chance at amazing prize giveaways by Uno Platform and other event sponsors. As for .NET 6 support, you can expect us to ship in lock step with .NET 6, like we did with .NET 6 RC versions. For the .NET Conf annual challenge we will be gifting out a pair of Bose Quiet Comfort 35 II Wireless Bluetooth Headphones. And for our grand prize we are giving out a DJI Mini 2 – The adult version of the RC helicopter you always wanted as kid. Keep reading to get a sneak peak into the challenge, live sessions and how you can make the most of your experience at .NET Conf.   Uno Platform Session at .NET Conf: OSS NuGet Package

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