StructureMap is a Dependency Injection / Inversion of Control tool for .NET licensed under Apache 2. It can be found at http://structuremap.net

- Stackoverflow.com Wiki
3 articles, 0 books.

Dependency Injection's primary purpose is to separate the implementation from the interface, and allow the system to supply the implementation at a given time. StructureMap (and it's Web API implementation) provide most of the groundwork to do just that.


How to set up an ASP.NET Web API project that uses AutoMapper and StructureMap to provide us with mapping and injection-based repositories and controllers.


This blog post explains how to use other containers with ASP.NET Core and shows how to use Structuremap and Autofac with framework level dependency injection.