Dependency injection vs assembly dependencies
Say, that I have the following project structure: Application <-> BusinessLogic <-> DataAccessLayer I've prepared all types to use poor-man's-dependency-injection and now I want to introduce the real one using Unity. But I'm struggling on where to put the dependency container and its configuration (i suppose I'll configure it from code). DataAccessLayer needs to register Context (EF) BusinessLogic needs to register data repositories (which use context) Application needs to register services (which use repositories) For now, the only assembly, which uses the container to actually instantiate