I am using Log4Net as a service which is injected into other services using StructureMap. How do I ensure the log file includes the calling service class context (class name and/or thread) which is m
So I thought I\'d be slick and try this.I need to pass around a context without newing it up every time AND be able to define the mappings (Entity framework) -- in order to do this I need to inherit t
Say several of my controllers constructors take an interface - IPetInterface There are 3 concrete implementations of IPetInterface.
I\'ve been searching all day and can\'t figure this out. I hope it hasn\'t been asked before. ObjectFactory.Initialize(
I am using StructureMap with MVC3 I want to set it up to use a few of the objects as Singletons or to give them a Per Request life.All of the examples I see out there are for an older syntax of Struct
I\'m trying to use Steven\'s solution for Service Layer validation which is outlined in his reply to some question StackOverflow( Validation: How to inject A Model State wrapper with Ninject?). Unfort
I\'m new to structureMap.How do I define constructor arguments for the following class with fluent configuration?Thanks
I have an object hierarchy similar to the following: interface IVideoStream { } abstract class VideoStream : IVideoStream { }
I\'m having trouble adding a value to my ImageService constructor. My IUserRepository works, but when I try to put \"absoluteImagePath\" into the constructor (Bootstrapper) I get the following error:
I want to get sam开发者_JAVA百科e instance within a page request/ Can I use HybridHttpOrThreadLocalScoped() method for this?