One advantage of the new .NET Core (now .NET) apps is that they are cross platform. Once you create an app, the same code will run on Windows, Mac or Linux with…
Category: Development
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…
Enumerating Displays in WPF with High DPI
Sometimes, we need to get our display disposition to position windows on them in specific places. The usual way to do it in .NET is to use the Screen class, with a…
Decoupling ViewModels in MVVM with the MVVM Toolkit Messenger
When you are using the MVVM pattern, at some time, you have to send data between ViewModels. For example, a detail ViewModel must tell the collection ViewModel that the current item should…
Troubles with converters and x:Bind in UWP
I was working with the WPF project, converted to UWP in this article, in order to check usage of the new MVVM toolkit, explained in my last article and use the bindings…
The MVVM Pattern revisited with the MVVM Community Toolkit 8.0
Sometime ago, I’ve written this article introducing the MVVM Community Toolkit and developing a CRUD application to show how to use the MVVM pattern with the Community toolkit. The time has passed…
IEnumerable Visualizer in Visual Studio
One thing that bothers me when debugging an app in Visual Studio is to get the values of an IEnumerable. For example, when you have a code like this one: var people…
Porting your WPF application to the web with Uno Platform
Nowadays, a very common scenario is that you have your WPF app ready and running for some time, and your boss tells you that it’s time to go further and port this…