Can any body explain how to set dependency between layers in layers based architecture using DI IOC and also please explain when we create Composition root in the UI layer then we need to refer all the dll in UI layer this leave the scope for UI developer to access DAL layer object directly. This will breach the the rule where UI layer should not be able to access DAL object directly.
Can any architect SME explain what is the correct way of Implementing Layered based architecture using below mention technology stack.
Here the technology preference is ASP.NET MVC 4, REST API Service, Enterprise library ( Repository pattern)