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…
Tag: .NET
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…
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…
Aspect Oriented Programming with DispatchProxy
Sometime ago, I wrote this article for the MSDN Magazine, about Aspect Oriented Programming and how it could solve cross-cutting concerns in your application, like: Authentication Logging Data audit Data validation Data…
Storing values in the Secret Manager tool
When you are developing a new project and need to store settings for it, the first thing that comes to mind is to use the Appsettings.json file. With this file, you can…
Deleting large emails in GMail with the GMail API
Introduction I am a long time user of Gmail, and I usually don’t delete any email, I just archive the emails after reading and processing them, to keep my inbox clean. Last…
Interactive Notebooks with C#
Sometime ago I posted an article about Dotnet Try. This is a wonderful tool to document your code but, since then, a lot has changed. .NET 6 and C#10 are here, Visual…