I have a solution with the following project:
Core/Services/Services Interfaces/Infrastructure/Web UI
In the Infrastructure project I have the following folders: -Data -IoC -Logging
The data folder in the Infrastructure project contains a DbContext class, repos and a UoW class... The services project needs to reference the Infrastructure to access the data and the Infrastructure needs to reference the services project so the IoC container can resolve its dependencies..That creates a circular dependency..
Whats a good way to solve this? Should there be a Infrastructure project and should the data and IoC be part of it?