Adding Validation to a XAML Control Using INotifyDataErrorInfo and the CommunityToolkit for WinUI, WPF, UWP and Uno

In my previous post on Building a XAML UserControl I made use of the CommunityToolkit.Mvvm (formerly Microsoft.Toolkit.Mvvm) NuGet package to provide the implementation of INotifyPropertyChanged used to data bind properties of our view model to the XAML controls. In this post we’re going to again use the community toolkit but this time we’re going to … Continue reading “Adding Validation to a XAML Control Using INotifyDataErrorInfo and the CommunityToolkit for WinUI, WPF, UWP and Uno”

Building a XAML UserControl for WinUI, UWP, WPF or Xamarin.Forms (.NET MAUI)

One of the powerful aspects of any XAML platform is the ability to define your own controls. In this post we’re going to look at building a user control that allows you to reuse chunks of your user experience. It doesn’t matter whether you’re using UWP, WinUI, Xamarin.Forms (.NET Maui) or the Uno Platform, the … Continue reading “Building a XAML UserControl for WinUI, UWP, WPF or Xamarin.Forms (.NET MAUI)”

Camera Preview Control for WinUI, UWP and Uno (iOS & Android) Applications

The Windows Community Toolkit provides a limited feature camera preview control for both UWP and WinUI but this doesn’t help if you want to build a cross platform application with the Uno Platform. In this post I wanted to share the very, very, very early version of a CameraPreview control for Uno. Initial support will … Continue reading “Camera Preview Control for WinUI, UWP and Uno (iOS & Android) Applications”

XAML Live Preview and the Future of Designers for App Development

Earlier this year I shared a post, Visual Designer, Hot Reload and Beyond, where I talked about how I thought the future of designers would evolve. Looks like I preempted a new feature that’s coming to Visual Studio 2022 called XAML Live Preview. Currently this is in preview for WPF applications but you can imagine … Continue reading “XAML Live Preview and the Future of Designers for App Development”

I am a Windows App Developer

With the recent excitement surrounding the announcement of Windows 11, there’s renewed interest in developing apps for the Windows platform. In this post we’re going to celebrate what it means to be a Windows App Developer, regardless of what framework or technology you chose. It’s not going to be an exhaustive list of options but … Continue reading “I am a Windows App Developer”

Image Resizetizer for WinUI and Uno Applications

Whilst I was working on migrating the WeatherTwentyOne app from Maui to Uno I noticed that the Maui application includes a number images as SVG files. However, in the XAML there are only ever references to PNG files. On closer inspection of the bin folder for the WinUI project I noticed that for each SVG … Continue reading “Image Resizetizer for WinUI and Uno Applications”

Converting the WeatherTwentyOne app from dotnet Maui to Uno

As the dotnet Maui team continue to churn out each preview, it’s great to see some of the showcase apps coming together. One of these is the WeatherTwentyOne app that David Ortinau has been working on. Whilst I’ve been doing a lot of work with the Uno platform recently, I haven’t been spending as time … Continue reading “Converting the WeatherTwentyOne app from dotnet Maui to Uno”

Ditch that Packaging Project with the Windows App SDK (Windows UI)

One of the most annoying “features” of both UWP and WinUI/ProjectReunion WindowsAppSDK apps is the need to generate a package. With UWP development, the packaging was built into the UWP project. However, with the WindowsAppSDK, a separate packaging project is currently required. In this post we’re going to walk through how you can remove this … Continue reading “Ditch that Packaging Project with the Windows App SDK (Windows UI)”

Windows 11 and the Windows App SDK

Last night / this morning I sat through one of the most professional and well executed series of non-live presentations from Microsoft covering Windows 11 and all the great features / tools that are coming for developers. In this post I’m going to cover some of the points that I took away from the sessions, … Continue reading “Windows 11 and the Windows App SDK”

Nuget Package Explorer (nuget.info) is a PWA powered by Uno Platform

As a true demonstration of the capabilities of the Uno Platform the Nuget Package Explorer (source on GitHub / Microsoft Store) is now available at https://nuget.info. For more information read the announcement. One thing that’s not immediately obvious is that https://nuget.info is in fact a PWA. In Edge (and Chrome) you should see an icon … Continue reading “Nuget Package Explorer (nuget.info) is a PWA powered by Uno Platform”

Getting Started with Project Reunion (Windows UI) and Visual Studio 2022

There’s a bit of fanfare going on at the moment because Microsoft have released the first preview of Visual Studio 2022 (announcement / download) which is significant because this is the first version of Visual Studio which will be 64bit. Note, this isn’t the first version that supports 64bit development, it’s the first version where … Continue reading “Getting Started with Project Reunion (Windows UI) and Visual Studio 2022”

Optimising Startup Time for Cross Platform Apps

One of the challenges with developing cross platform apps for iOS, Android, Windows, Web, Linux etc is that at some point you’re inevitably going to need to spend some time focusing on each individual platform. Optimising startup performance is one of those cases. In this post we’re going to start looking at the how and … Continue reading “Optimising Startup Time for Cross Platform Apps”

Startup Performance, Skia and the Future of Cross Platform Apps Built with .NET

Over the last week I’ve been exploring different ways to measure the time it takes for an app to launch and be ready for the user to interact with. I’ll go into more detail on this topic in subsequent posts but I wanted first to take a bit of a side track into thinking about … Continue reading “Startup Performance, Skia and the Future of Cross Platform Apps Built with .NET”

Running a Windows UI (Project Reunion) App as Partial Trust (Windows App Container)

I’ve covered this a couple of times already but it’s already possible to run a Windows UI (aka WinUI / Project Reunion) app as “partial trust”. This is roughly equivalent to the security context of a UWP application. However, there are some difference, which I’m assuming Microsoft will have to bridge if they’re going to … Continue reading “Running a Windows UI (Project Reunion) App as Partial Trust (Windows App Container)”

Expired iOS Certificate and Provisioning Profile

Every time I think that I have things sorted for the build process of my applications, sure enough, Apple find some way to mess it up. This time it’s the fact that the certificate and provisioning profile I’m using in my fully automated build and release pipeline has expired. Of course, this would be for … Continue reading “Expired iOS Certificate and Provisioning Profile”

Visual Designer, Hot Reload and Beyond

In the last couple of years we’ve seen a massive spike in interest around “Hot Reload” thanks to the popularity of frameworks such as React/React Native and more recently, Flutter. The goal of Hot Reload is to allow developers to iteratively change their application code, whilst debugging their application – this cuts down considerably the … Continue reading “Visual Designer, Hot Reload and Beyond”

Running Your Windows UI / Project Reunion App in the Windows App Container (sandbox)

In a number of my previous posts I’ve challenged the need for Windows UI (WinUI3) to continue to support UWP. In nearly every instance I get push back from the community regarding all the features that are missing from Project Reunion and that UWP needs to be the future – but why I ask? wah, … Continue reading “Running Your Windows UI / Project Reunion App in the Windows App Container (sandbox)”

We Don’t Want or Need WinUI for UWP

There are a bunch of loyal UWP developers that are complaining because Project Reunion / WinUI isn’t available for UWP but have they really taken a step back and understood what they’re asking for. Let’s break this down a little and understand why WinUI for UWP shouldn’t exist (and why there are political reasons why … Continue reading “We Don’t Want or Need WinUI for UWP”

How to run a WinUI 3 (Project Reunion) app on Windows 10X (Xbox and Hololens)

If you look at what Microsoft is working on with Project Reunion, it’s clear to see that they’ve set a vision to reunite the various groups of Windows developers. The aim is not to have every developer using exactly the same technology stack but rather to give every developer access to the richness of the … Continue reading “How to run a WinUI 3 (Project Reunion) app on Windows 10X (Xbox and Hololens)”

Adding Some Behaviors to Your WinUI Uno Application

With the recent release of Windows UI and support for cross platform offered by the Uno Platform, it’s going to take a little while for the various UWP libraries that we’re familiar with to be ported across. They firstly need to be ported to Windows UI and then they need a Uno build. The Uno … Continue reading “Adding Some Behaviors to Your WinUI Uno Application”