<p>Obviously there is more to a container than resolving services and managing their scope, but in the core that's just what it is. Before you can do so you need to tell StructureMap, the container, how it must compose those objects graphs and what their lifecycle is. This is called registration and can be done in various mixed ways. The strongly recommend way would be using the <a href="/registration/registry-dsl">Registry DSL</a>. In your registration you're basically mapping abstractions to concrete types and defining their lifecycle.</p>
0 commit comments