StructureMap is a Dependency Injection / Inversion of Control tool for .NET licensed under Apache 2.
I have been searching about the dependency injection and read a few articles. But still I am unable to find …
dependency-injection inversion-of-control mef ioc-container structuremapI am using asp.net identity in my project and using structuremap as DI framework. the problem is when i …
asp.net-mvc dependency-injection structuremap asp.net-identity asp.net-identity-2I've trawled through multiple blogs etc trying to find out how to configure StructureMap with Web API 2 and none of …
asp.net-web-api structuremap asp.net-web-api2Im trying to use StructureMap to initialize my ValuesController that derivate from ApiController but i'm getting an exception that says: …
.net asp.net-web-api structuremappublic interface IInterface1 { } public interface IInterface2 { } public class MyClass : IInterface1, IInterface2 { } ... ObjectFactory.Initialize(x => { x.For<IInterface1>().…
c# singleton structuremapCurrently I have an ActionFilter that gets the current users name from HttpContext and passes it into the action which …
asp.net-mvc dependency-injection structuremap httpcontextI can't figure out how to define the default constructor (when it exists overloads) for a type in StructureMap (version 2.5) …
c# inversion-of-control structuremap[assembly: WebActivator.PreApplicationStartMethod(typeof(MyApp.App_Start.StructureMapMvc), "Start")] namespace MyApp.App_Start { public static class StructureMapMvc { public static void …
c# asp.net-mvc-4 structuremapHow unity can get all instances of an interface and then access them? Code pieces are taken from here : Fail-Tracker …
c# unity-container structuremapI have an interface (IRepository<T>) that is currently being extended for each specific repository, ie: IUserRepository : IRepository&…
c# asp.net generics structuremap