c# - IoC registration across multiple projects/solutions - when does it happen? -


i'm little confused regarding ioc registration. assuming have visual studio project called 'project 1'. within project dependent , it's dependency. register dependency implementation within installer in project 1.

now project 2 wants use dependent described in project 1. right in saying project 2 must same registration dependency inject dependent? i.e. isn't registration in project 1 pointless?

the reason ask because under impression registration all done calling code, 'final consumer' of these implementations. i've seen installer files within 'project 1' equivalent in solution i'm looking at.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -