StructureMap 4.7.1

.NET Standard 1.3 .NET Framework 4.5
NuGet\Install-Package StructureMap -Version 4.7.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package StructureMap --version 4.7.1
<PackageReference Include="StructureMap" Version="4.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StructureMap --version 4.7.1
#r "nuget: StructureMap, 4.7.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install StructureMap as a Cake Addin
#addin nuget:?package=StructureMap&version=4.7.1

// Install StructureMap as a Cake Tool
#tool nuget:?package=StructureMap&version=4.7.1

The Original IoC Container for .Net

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (329)

Showing the top 5 NuGet packages that depend on StructureMap:

Package Downloads
StructureMap.Microsoft.DependencyInjection

StructureMap.Microsoft.DependencyInjection

StructureMap.MVC5

Adds the latest version of structuremap and configures it as the default Dependency Resolver for ASP.NET MVC5. Does not work with 'ApiControllers', please add the Structuremap.WebAPI2 package if you need WebAPI support.

MassTransit.StructureMap The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

MassTransit StructureMap container support; MassTransit is a message-based distributed application framework for .NET http://masstransit-project.com

StructureMap.MVC4

Adds the latest version of structuremap and configures it as the default Dependency Resolver. Works with 'Controllers' and 'ApiControllers'.

EasyNetQ.DI.StructureMap

An adaptor to allow EasyNetQ to use StructureMap as its internal IoC container

GitHub repositories (48)

Showing the top 5 popular GitHub repositories that depend on StructureMap:

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
RolandPheasant/TailBlazer
A modern file tail utility based on Rx.Net which show cases reactive programming and Dynamic Data (see https://github.com/RolandPheasant/DynamicData)
aspnet/AspNetKatana
Microsoft's OWIN implementation, the Katana project
SolrNet/SolrNet
Solr client for .Net
matthewrenze/clean-architecture-demo
A sample app for my online course "Clean Architecture: Patterns, Practices, and Principles" in .NET Framework 4.8
Version Downloads Last updated
4.7.1 4,568,987 4/2/2019
4.7.0 2,733,309 7/12/2018
4.6.1 1,690,963 1/17/2018
4.6.0 72,510 1/16/2018
4.5.3 501,517 11/14/2017
4.5.2 1,148,059 8/9/2017
4.5.1 308,152 6/28/2017
4.5.0 2,354,102 6/9/2017
4.4.5 332,657 4/18/2017
4.4.4 180,334 4/6/2017
4.4.3 775,571 2/20/2017
4.4.2 445,258 11/22/2016
4.4.1 345,999 9/18/2016
4.4.0 264,203 8/8/2016
4.4.0-alpha-446 5,947 8/4/2016
4.4.0-alpha-445 6,124 8/3/2016
4.4.0-alpha-444 6,027 8/3/2016
4.4.0-alpha-443 5,922 8/3/2016
4.3.0 245,608 8/1/2016
4.2.0.402 361,353 5/3/2016
4.1.3.394 190,696 4/7/2016
4.1.2.386 40,113 3/22/2016
4.1.1.372 50,135 3/10/2016
4.1.0.361 81,308 3/2/2016
4.0.1.318 273,301 12/14/2015
4.0.0.315 120,627 12/2/2015
4.0.0.279-alpha 3,442 10/20/2015
4.0.0.272-alpha 1,166 10/16/2015
4.0.0.266-alpha 1,092 10/13/2015
4.0.0.244-alpha 2,340 9/30/2015
3.2.0.221-alpha 1,343 9/4/2015
3.2.0.217-alpha 1,465 8/24/2015
3.1.9.463 155,095 10/17/2016
3.1.8.419 103,467 7/5/2016
3.1.7.350 39,336 2/19/2016
3.1.6.186 638,859 7/7/2015
3.1.5.154 280,542 4/13/2015
3.1.4.143 352,811 10/7/2014
3.1.3.142 6,548 10/3/2014
3.1.2.138 32,657 9/19/2014
3.1.1.134 269,346 8/26/2014
3.1.0.133 57,759 8/12/2014
3.0.5.130 69,353 7/21/2014
3.0.4.125 46,150 6/26/2014
3.0.3.116 84,770 4/24/2014
3.0.2.115 46,294 4/14/2014
3.0.1.114 11,091 4/9/2014
3.0.0.108 252,797 3/31/2014
2.6.4.1 1,785,430 8/13/2012
2.6.3 378,446 8/28/2011
2.6.2 162,332 2/19/2011
2.6.1 360,265 2/19/2011