Is it ok to use SM to handle my linq datacontext lifetime or just create datacontext instance inside repository constructor? I heard from you will have memory leak problem in SM if you let it handle t
In my object factory initialization, I have something like this: ObjectFactory.Initialize(factory=>
I would like my constructor to call another constructor with parameter but when I do this(MyProperty), then MyProperty must be static. And the problem is in the getter of this static Property, I have
At a high level, how do these dep. injection frameworks work? I can understand if you always instantiate an object via a custom factory like:
I\'m managing a shared auth cookie when making WCF service calls via this methodology outlined under the header \"Centralized cookie management\" located here: http://megakemp.com/2009/02/06/managing-
I\'m trying to use StructureMap 2.6.1 to register all my repositories at once using the convention based registration. See the code bellow :
I know sometimes (here lately) I\'ve been asking more questions than I answer and for that I apologize, but I have yet another question.
I\'d not planned for this as the requirement has only just emerged but Using Entity Framework we have pairs of tables (I\'ll call them Twins, A & B) with identical data structures but different na
Problem: Loading Plugins into a console app(Windows Service Eventually) and running code in the plug in dll\'s
Say I have a source and de开发者_运维百科stination class that is mapped using AutoMapper. The destination has a logger service injected into the constructor.