Zero Installer, Zero MSIX, Zero Packaging with .NET Single File Apps
A feature that was added to .NET Core apps was the ability to publish as a single file. As we approach the release of .NET 5 I thought it worthwhile taking a look at the options for publishing Windows Forms and WPF applications with dotnet publish. For this post we’re going to work with a … Read more
Experimenting with .NET 5 Target Framework Names and the Windows platform
Firstly, if you haven’t been following the development of .NET 5 then you should definitely download the latest Visual Studio preview and .NET 5 preview SDK today. Next, you should follow the blogs from the dotnet team and specifically the post by Immo that discusses the future of .NET Standard. The post doesn’t just cover … Read more
XAML Back to Basics #13: DataTemplateSelector
How to display items in an ItemsControl using different templates
XAML Islands Getting Started Guide – Adding UWP Controls to Windows Forms or WPF Application
One of the reasons that Microsoft failed to get wide spread adoption of the Universal Windows Platform (UWP) is that there is already a massive investment into Windows Forms (WinForms) and Windows Presentation Foundation (WPF) applications. In this post we’re going to walk through how you can use XAML Islands to host UWP controls within an existing WinForms or WPF application.
XAML Back to Basics #11: Multiple Linked Lists
How to synchronize ListBoxes displaying three levels of hierarchical data
Fix: WinUI Preview 2 with Visual Studio 2019 Error Creating Project
If you’ve recently upgraded to the latest Visual Studio preview (Preview 2 of VS 16.8) then you may run into issues if you attempt to create a new WinUI for Desktop project. You’ll see a prompt similar to the following and only the packaging project will get created. The full text from the error is … Read more
Thinking Out Loud: Mvvm Navigation for XAML Frameworks such as Xamarin.Forms, UWP/WinUI, WPF and Uno
One of the things that’s often given me pause for thought is the approach we take to navigation within applications. For the purpose of this post I’m going limit the scope to just XAML based applications (XF/Maui, UWP/WinUI/Uno, WPF). In all of these application platforms there is a built in capability to navigate between pages. … Read more
XAML Basics for WPF, UWP, Uno and WinUI
This is an index post for a series of blog posts covering some XAML basics. The original content came from a series of posts that Beatriz Stollnitz made on WPF/Silverlight that had been moved to a github repository. Unfortunately most of the samples don’t work out of the box with the latest version of Visual Studio … Read more
XAML Back to Basics #6: SelectedValue v SelectedItem
What is the difference between SelectedValue and SelectedItem?
XAML Back to Basics #4: ComboBox Binding
How to bind the items of a ComboBox (and get its ComboBoxItems
Xbox UWP – Unable to Activate Windows Store App – Error 0x8004090a
Building and deploying UWP apps on Xbox is frustrating – every time I come back to it I get caught out by things that should just work. The one that always seems to get me is that you have to be signed in on the Xbox. This used to not be a problem because Visual … Read more