Empty string and array best practices in C#Just a very short blog post... for everyone who is not yet known to it. Since .Net Framework 4.6 for two immutable types we got new static fields in the framework: Array.Empty<T> string.Empty // instead of string foo = ""; byte[] bar = new byte[0...Jun 1, 2024 · 1 min readblog.sigterm.eu
Thread safetyIntroduction In one of my older projects, I often had to synchronize and work with different parallel threads. Using async, parallel or 'real' threads does not make a real difference when it is coming to thread safety. As a very short short instructi...May 29, 2024 · 3 min readblog.sigterm.eu
NyxSql Part III - WPF/MAUI/AvalonUIIn part III we take a closer look at where to upgrade our UserInterface from WindowsForms. As NyxSql was created as a learning project more than a decade ago, there is no MVVM or anything else implemented, which will make the upgrade more hard as the...Dec 5, 2022 · 3 min readblog.sigterm.eu
NuGet Package Manager - incorrect credentialsWhen using package manager with sources which require to authenticate yourself (e. g. internal sources or paid subscriptions), it may happen that you need to change your password or just entered the wrong credentials. Now, it is kinda like 'evil', be...Nov 9, 2022 · 1 min readblog.sigterm.eu
Current solution contains incorrect...error and no build?!?When working with multiple workstations (workstation / laptop) due to pandemic, we suddenly experienced the following error when opening solutions: Current solution contains incorrect configurations mappings. It may cause projects to not work correct...Oct 18, 2022 · 1 min readblog.sigterm.eu