You are developing a new application and want it to be scalable: instead of having a single application with all the interactions, you want to develop it in a modular way, adding…
Category: Development
Modernizing your WPF application with the Fluent theme
You have an old WPF application that you would like to modernize, making its UI more up-to-date and in-line with Windows 11 theming. There are some ways to do it, and the…
Customize the title bar of your WinUI3 app
The latest experimental version of the WinAppSDK, version 1.6 experimental 2. brings a new control to WinUI 3: the titlebar. While you could customize your title bar in the previous versions, that…
OpenFolderDialog in WPF
One feature that was missing in WPF was the OpenFolderDialog. To circumvent the lack of something to select a folder, there were some methods, but none of them were optimal: Use Windows…
Implementing Authentication in Minimal API endpoints
Some time ago, I wrote this article about creating a Minimal API CRUD using Entity Framework. That project worked fine, but something was missing: Authentication and Authorization. When dealing with an API…
Using C# source generation for enhanced logging
In the last article, I wrote about logging in C# and how to use log formatters to suit your needs. Once you start adding logs to your applications, you start to notice…
Log Formatters in C#
Introduction Logging is an essential aspect of software development that enables us to track and understand the behavior of our applications. In fact, there are many logging frameworks to help with this…
C# Source Code Generators
C# 9 introduced a new feature that allows you to inspect user code as it is being compiled and generate new C# source files that are added to the compilation. This enables…
Creating RESTful APIs with Minimal APIs and Entity Framework Core in ASP.NET
Introduction Some time ago, I wrote this article about FeatherHTTP. Things have evolved since then and, in .NET 6, Microsoft introduced a new approach called "Minimal APIs" which simplifies the process of…
Creating OpenXml files with the OpenXml SDK
Some time ago I wrote a blog post on Creating OpenXml files with Delphi. It showed how to open and create Word files using Delphi by using only a Zip and an…