Using Windows natural order sorting in C#

Windows Explorer sorts files with digits in a more natural way than build-in C# functions. It’s possible to use this sorting method in any app for Windows. ...

December 8, 2024

ItemsControl and DataTemplateSelector in WinUI

Sometimes even simple things can be confusing. Especially if you don’t encounter them every day. The funniest thing is if you’ve already solved this problem and successfully forgot about it after some time. ...

November 11, 2024

Using .NET build-in dependency injection with WinUI apps

.NET has build-in dependency injection (DI). It’s used primarily for ASP.NET Core apps, but there’s no reason not to use it with WinUI apps too. ...

November 9, 2024