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 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 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.
2023-10-09 dotnetdotnet-8wpf WPF Open / Select Folder Dialog (.NET 8 OpenFolderDialog) Use the new .NET 8 `OpenFolderDialog` in WPF to let users open and select one or multiple folders. Replaces the old WinForms FolderBrowserDialog hack.
2023-09-25 csharpdotnetdotnet-8 .NET 8 – Serializing properties from interface hierarchies .NET 8 adds support for serializing properties from interface hierarchies, including all properties from all interfaces depending on the declared variable type.
2023-09-21 csharpdotnetdotnet-8 .NET 8 – Deserialize into non-public properties Learn how to deserialize JSON into non-public properties in .NET 8 using the JsonInclude attribute and parameterized constructors.
2023-09-17 csharpdotnetdotnet-8 .NET 8 – How to use JsonStringEnumConverter with native AOT Learn how to use the new JsonStringEnumConverter<TEnum> in .NET 8 for native AOT-compatible enum serialization with System.Text.Json.
2023-09-14 csharpdotnetdotnet-8 The type or namespace name InterceptsLocationAttribute could not be found How to fix error CS0246 for InterceptsLocationAttribute in C# interceptors by defining the attribute yourself.
2023-09-11 csharpdotnetdotnet-8 .NET 8 – Mark JsonSerializerOptions as readonly Learn how to mark JsonSerializerOptions instances as read-only in .NET 8 using MakeReadOnly, and how to check the IsReadOnly property.