Workaround for ServiceCollection.Configure failing where T is ConcurrentDictionary in NET7 Option Binding for a ConcurrentDictionary that works in NET6 fails in NET7. This is a workaround. Click here to read the article