The examples I can find use a two layer architecture, where the controllers directly use the repository classes in the data access layer. See here or here.
Where would you register components from the data access layer if you have a service or business logic layer that uses those components? The data access layer should ideally not be referenced from the user interface layer, right? So Application_Start would not be the right place to do it.
What would be a better way?
Thank you!