In practice, this means that you should configure the container at the root of your application.
In a desktop app, that would be in the Main method (or very close to it)
In an ASP.NET (including MVC) application, that would be in Global.asax
In WCF, that would be in a ServiceHostFactory
etc.
refe-"https://stackoverflow.com/questions/6277771/what-is-a-composition-root-in-the-context-of-dependency-injection"