Blog
Page 10 of 20
2023-10-21 dotnetdotnet-8
System.Text.Json – Disable reflection-based serialization
Learn how to disable reflection-based serialization in System.Text.Json starting with .NET 8 for trimmed and native AOT applications using the JsonSerializerIsReflectionEnabledByDefault property.
2023-10-20 csharp
C# – What is a NullReferenceException, and how to fix it?
Learn what causes a NullReferenceException in C#, how to debug it, and how to prevent it using null checks, the null-conditional operator, and nullable reference types.
2023-10-20 technology
YouTube: Missing option to delete channel
Missing the Remove YouTube Content option? Use YouTube Studio as a workaround to delete your channel when the standard option is unavailable.
2023-10-19 csharpdotnetdotnet-8
Add/Remove TypeInfoResolver to existing JsonSerializerOptions
Learn how to add or remove TypeInfoResolver instances on existing JsonSerializerOptions using the new TypeInfoResolverChain property in .NET 8.
2023-10-18 dotnetdotnet-8wpf
WPF – Prevent file dialog selection from being added to recents
Prevent WPF file dialog selections from appearing in Windows Explorer recents and the Start Menu by setting AddToRecent to false in .NET 8.
2023-10-13 dotnetdotnet-8wpf
WPF – Individual dialog states using ClientGuid
Use the ClientGuid property in .NET 8 to persist individual dialog states like window size, position, and last used folder across WPF file dialogs.
2023-10-12 csharpdotnet
C# 12 – Interceptors
Learn about C# 12 interceptors, an experimental .NET 8 compiler feature that lets you replace method calls at compile time using the InterceptsLocation attribute.
2023-10-12 dotnetdotnet-8wpf
WPF – Limit OpenFileDialog folder tree to a certain folder
Learn how to constrain the WPF OpenFileDialog folder tree to a specific root folder using the RootDirectory property in .NET 8.
2023-10-09 flutter
Flutter – NoSuchMethod: the method was called on null
This Flutter error occurs when calling a method on a null object reference. Learn how to diagnose and fix the NoSuchMethod error using the call stack and breakpoints.
2023-10-09 dotnetdotnet-8wpf
WPF hardware acceleration in RDP
Learn how to enable WPF hardware acceleration over RDP in .NET 8 for improved performance and a more responsive remote desktop experience.