Great article!

I especially liked the part regard service locator and that you should opt for explicit dependencies.

I'd like to ask if you know what I could do to find dependencies in my command handlers - as shown in this article: https://medium.com/swlh/dynamic-command-dispatching-in-c-d3abe21b3d1b

At the very bottom, I actually state that I'd use the IServiceCollection to find registered types, but I totally see why this is not a great thing to do.

Do you have any suggestions on how to solve this?

We can connect on Discord if you'd like.

MSc. | Writer with +1M views. | Lead Developer and Manager in Big4, ex. FinTech. Sharing my opinion & what I learn. New YouTube Channel https://bit.ly/3vxqNHj