The Habitual Developer

Randy Burden's Software Development Related Ramblings

Category Archives: StructureMap

Post navigation

Integrating StructureMap in an MVC 3 Project = Dead Simple

Posted by randyburden

Integrating StructureMap in an MVC 3 Project:

  1. New MVC 3 Project
  2. Install StructureMap.MVC3 NuGet Package
  3. Add the following to Application_Start() in Global.asax.cs:
DependencyResolver.SetResolver(new SmDependencyResolver(IoC.Initialize()));

Posted in Programming, Software Development, StructureMap

Oct·25

Post navigation

Recent Posts

  • Querying Over Multiple Child Collections With NHibernate Part 2
  • T-SQL – The Subtle False Assumption One Can Make When Using SELECT to Assign a Value To a Variable
  • Querying Over Multiple Child Collections With NHibernate
  • Who is on the Server?
  • Integrating StructureMap in an MVC 3 Project = Dead Simple

Archives

  • November 2012
  • September 2012
  • August 2012
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011

Categories

  • .NET User Groups
  • Browser Bugs
  • C#
  • Hardware
  • HTML
  • IT
  • jQuery
  • MVC
  • NHibernate
  • Personal
  • Programming
  • Software Development
  • SQL
  • StructureMap
  • Visual Studio 2010
© 2012 Randy Burden | About
May God bless you. :)