Resolving Dependencies in ASP.NET MVC 5 with StructureMap

added by Paul Wheeler
6/30/2014 7:14:55 PM

2 Kicks, 153 Views

In a previous post I showed how to use StructureMap with ASP.NET MVC 3.  It’s been a couple of years, so I figured it was time to update that article with the steps for getting StructureMap working in ASP.NET MVC 5.  If you’re interested in learning more about how to develop applications in a loosely coupled fashion, I highly recommend my course on SOLID Principles of Object Oriented Design to learn more (in particular, the Dependency Inversion Principle).