How a Little Environment Variable Can Break Your Integration Tests in ReSharper & Rider

Last week we run into a strange problem with our integration tests. On some developer machines everything worked fine, while other machines got errors like this one: System.InvalidOperationException : Cannot resolve scoped service ‘my.application.IOrderRepository’ from root provider. at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteValidator.ValidateResolution(Type serviceType, IServiceScope scope, IServiceScope rootScope)   The problem It took us hours to understand what was …

Read more

NDC Oslo 2023: My 10th NDC

Last week I was in Oslo to attend the NDC conference. I cannot really believe that this was already the 10th NDC Oslo I attended. With 2’600 attendees it was the biggest NDC event ever, but at least for me not the best.   Practical Clean Architecture workshop with Jason Taylor I started my NDC …

Read more