There are times when you need to convert data from one format to the other and you don’t have any tools to do it, or you must do it so many times…
Category: English
Posts in English/Posts em inglês
Modernizing your .NET app with WinUI3
In the last post I showed how to use Xaml Islands to modernize your .NET app. As you could see, there are a lot of steps and the procedure is a little…
Modernizing your .NET app with Xaml Islands
You have an app developed a long time ago and it’s showing its age. It’s time to modernize it, but rewrite isn’t an option: it’s too complicated to rewrite it and it’s…
Mocking non-virtual methods of a class with Microsoft Fakes
After I finished last article, I started to think that there should be another way to test the non-virtual methods of a class. And, as a matter of fact, there is another…
Mocking non-virtual methods of a class
Introduction Usually I use interfaces for my unit tests. This is a good practice, and should be followed when possible. But, last week I was testing some legacy code, which had no…
Discover what is consuming your disk with NTFS structures
Introduction Some time ago, I wrote this post with this accompanying source code. It showed the way to use NTFS file structures to enumerate files and show the files that take more…
Missed features in Windows 10 – Task View and Multiple Desktops
Sometimes, you, even being a power user of Windows, can miss some things that can make your life easier. You get used to a routine and then, new features come and unfortunately,…
Parsing the command line for your application with System.CommandLine
A very common issue when dealing with console applications is to parse the command line. I am a huge fan of command line applications, especially when I want to add an operation…
Learning and documenting .NET with dotnet try
Introduction Learning a new programming language is always hard. You have to read the documentation, stop, go to the IDE of your choice, start a new project, compile and run the program…
Analyzing your app with NDepend
One of the perks of being an MVP is to receive some tools for my own use, so I can evaluate them and if, I find them valuable, I can use them…