• FromKeyedServices returns null when used in primary constructors

    Today I discovered that, when using NET 8 and a service with primary constructor, the FromKeyedServicesAttribute does nothing (I assume). Perhaps the attribute is magically removed when the code is compiled. I guess that is changed to on compile (note the missing attribute!) Changing from primary constructor to an ordinary constructor with no other change…

  • NET6+ and WCF headers

    While creating a new frontend, written in C# on NET6+ (dotnet core) I stumbled across an issue talking to the old .NET Framework backend. The backend is exposed via WCF, and requires authentication headers to be sent. This is a bit tricky using NET6+, and does not work out of the box when adding the…