Use Windows AI in Your WPF Application

With the rise of Copilot+ PCs that have a neural processing unit (NPU), you as a developer get new possibilities to integrate artificial intelligence (AI) in your Windows desktop applications. Instead of consuming a cloud-based AI model, you can use local AI models.

In this blog post, you will learn how to build a WPF application that uses a local small language model (SLM) called Phi Silica that comes pre-installed with Windows 11. Everything that you do with Phi Silica stays on your machine. Let's start by looking at Copilot+ PCs.

(more…)
Read more...

Fixing the Screen of my Google Pixel 6

In the past decades, I owned different phones, like Apple iPhone, Windows Phone, and since Google started the Pixel series, I'm using a Google Pixel. I had Pixel (1) XL, Pixel 5, and my current phone is a Google Pixel 6. It's amazing, even after 3.5 years the battery and the phone as such is still pretty solid. And now I even was able to repair a broken screen so easily, and instead of getting a new one, I'm continuing to using this phone.

(more…)
Read more...

WPF in .NET 9.0 – Windows 11 Theming

The Windows Presentation Foundation (WPF) is a Desktop UI Framework that is part of .NET. Microsoft uses it to build Visual Studio. WPF got some nice new features with .NET 9:

  • Windows 11 Theming
  • The Accent Color
  • Hyphen-based ligatures

In a little series of blog posts, let's take a look at these features. Let's start in this blog post with Windows 11 Theming.

(more…)
Read more...

C# 12: Alias Any Type

In the previous blog posts of this C# 12 series you learned about different C# 12 features:

In this blog post, let's look at another new feature that allows you to alias any type with a using directive. Before we dive in, let's ensure that you understand how you could already alias namespaces and types before C# 12.

(more…)
Read more...