structuremap
ASP.NET MVC Views Dependency Injection without DependencyResolver?
Is it possible to inject dependencies into an MVC ViewPage (must support layout pages) without using DependencyResolver?[详细]
2023-02-20 04:05 分类:问答ASP.NET MVC Injecting Http/Request/Controller context
Is there a recommended approach for injecting Http/Request/Controller context in an ASP.NET MVC application?[详细]
2023-02-20 04:03 分类:问答Generic Repository session management asp.net-mvc fluent nhibernate
I have gotten into a problem with my project. I am using a generic repository with structure map together with Fluent NHibernate. Everything works rather well, but when it comes to transactions and se[详细]
2023-02-19 08:01 分类:问答Close open generic types with whatever is requested, by calling a lambda
I am currently using the mongodb-csharp drivers in my application. I would like my repositories to depend on IMongoCollection<T>, and I\'m trying to figure out how to configure StructureMap to[详细]
2023-02-18 07:34 分类:问答Creating plugin scanner with StructureMap
I\'m attempting to write a StructureM开发者_开发技巧ap plugin scanner for Payment Gateway implementations.I have created an IPaymentGateway interface in an external library.I have created several impl[详细]
2023-02-17 04:34 分类:问答The Type DefaultConventionScanner must be Convertible to ITypeScanner, StructureMap
I\'ve tried googling this in many ways and somehow this is the first generic seeming error message I haven\'t been able to find ANY results for.[详细]
2023-02-16 13:36 分类:问答Using IoC to provide a custom ModelMetadataProvider in MVC3
I\'m currently overriding the default ModelMetadataProvider in the Global.asax file using this ModelMetadataProviders.Current = new RedSandMetadataProvider(ModelMetadataProviders.Current);[详细]
2023-02-16 03:44 分类:问答glibc detected (memory error) on inserting into std::map
I have the following code: struct VRfile{ char sessionID[10]; char file[20]; int first; }; std::map (int ,struct VRfile *) maps;[详细]
2023-02-15 23:51 分类:问答Backward compatiblility issues with StructureMap 2.6.1
We have been using version 2.5.3 for a while and now we are trying to upgrade to 2.6.1 and have some compatibility issues.[详细]
2023-02-15 20:41 分类:问答ExecuteReader requires open Connection. Current state: Broken
I\'m using StructureMap to inject a LINQ data context (DB class) into my repositories for read queries on a HTTP-context basis, which are queried via a service layer. Everything works fine for a few h[详细]
2023-02-15 15:51 分类:问答