structuremap
Should i use structuremap to handle lifecycle of my linq datacontext?
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[详细]
2023-03-11 23:24 分类:问答StructureMap constructor injection with named maps
In my object factory initialization, I have something like this: ObjectFactory.Initialize(factory=>[详细]
2023-03-11 18:42 分类:问答Constructor chaining and static property parameter and StructureMap
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[详细]
2023-03-10 22:00 分类:问答How does ninject work at a high level, how does it intercept object instantiation?
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:[详细]
2023-03-09 02:20 分类:问答WCF shared IClientMessageInspector instance across multiple clients
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-[详细]
2023-03-09 01:41 分类:问答Set instance lifecycle with StructureMap convention based registration
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 :[详细]
2023-03-08 08:37 分类:问答Could not load type 'xxx`1' from assembly from assembly
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.[详细]
2023-03-07 23:32 分类:问答Two Tables with identical structures, different names, howto switch which is used at runtime
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[详细]
2023-03-07 01:04 分类:问答StructureMap Dynamically loading Plugin Dll's
Problem: Loading Plugins into a console app(Windows Service Eventually) and running code in the plug in dll\'s[详细]
2023-03-05 09:03 分类:问答Inject service into an AutoMapper destination class
Say I have a source and de开发者_运维百科stination class that is mapped using AutoMapper. The destination has a logger service injected into the constructor.[详细]
2023-03-05 02:09 分类:问答