Multitenant Application – Part 2: Context driven dependency injection
Further to the previous post, object creation based on the current context is a cross cutting concern, so it should be dragged outside the core business logic. We have already tried creating a factory method to give us the required implementation. We will now replace this with a container to allow Inversion Of Control. The most simplest… Read More Multitenant Application – Part 2: Context driven dependency injection