structuremap
Injecting Current USer using Structuremap Custom Instance
Here is what I am trying to do: I have implemented Form Authentication in ASP.NET MVC. I have IUser Interface which conforms to IPrincipal (System.Security.Principal). The custom IUser have additional[详细]
2023-02-25 19:49 分类:问答Initialising StructureMap with class that has a constructor with parameters
I am trying to initialise StructureMap to inject a concrete class which has only one constructor which takes 4 string parameters.[详细]
2023-02-25 18:33 分类:问答Structuremap addalltypesof constructed by a specific constructor
I really like StructureMap as an IOC-framework especially the convention based registration. Now I try to do the following: I want to add all types that implement a specific interface when the class h[详细]
2023-02-24 05:26 分类:问答StructureMap get registered types, not instances
I have a plugin system that allows a user to choose the type of plugin they wish to create (basically this sets up a configuration for a plugin instance).[详细]
2023-02-24 02:12 分类:问答StructureMap inject parent/child relationship
I am new to StructureMap. Any guidance for the following questi开发者_如何学Con is appreciated. Thanks![详细]
2023-02-22 18:29 分类:问答Need help getting Ninject equivalent for StructureMap syntax
I am trying to implement IoC (Ninject) for Ravendb and have ran into a little snag.I am using code from http://www.dotnetguy.co.uk/post/2010/06/12/raven-db-ndash-part-1-ndash-docume开发者_如何学编程nt[详细]
2023-02-22 13:09 分类:问答Structuremap PerRequest lifecycle
I want to inj开发者_高级运维ect an instance into structuremap on the fly (i.e. outside of a registry/configuration) that lives for the life of the request.[详细]
2023-02-21 02:00 分类:问答StructureMap - Configure default type for plugin, but can be overridden?
I have a requirement where I\'d like to configure a plugin for an interface to always be a default type, but allow another assembly\'s configuration of that same plugin always take precedence.[详细]
2023-02-20 15:10 分类:问答StructureMap fails on IIS 7.5 with AppPoolIdentity
I have a problem with ASP.NET MVC application hosted on IIS 7.5 on separate application pool, configured with AppPoolIdentity and .NET 4.0 Framework.[详细]
2023-02-20 13:28 分类:问答Setting up DependancyResolver in MVC3 using StructureMap for ModelMetadataProvider & ModelValidatorProvider
Is it even possible to setup MVC3 to use the DependencyResolver in order to get a custom ModelMetadataProvider or ModelValidatorProvider? Cause at this point I can\'t get it to work what so ever via t[详细]
2023-02-20 10:46 分类:问答