I am very new to this, so bear with me.
I have a MVC app using Service/Repository/EF4 pattern and I am trying to use Ninject. I have it working on the controllers, they are constructor injected with services, but the services are constructor injected with repositories and I am not sure where to handle this.
I am trying to make it so each layer only knows about the layer below, is that correct? If so, the MVC app only knows of the Service Layer, and the Service Layer only knows about the Repository Layer, etc. So in my Ninject Module where I am creating the bindings, I can not say:
Bind(Of IRepository(Of Category)).To(Of EFRepository(Of Category))
Where do I handle the injection at?