autofac
Using Autofac to provide types exported by static factory
I have a dependency which provides a number of services using its static ServiceManager.It also provides a list of available types.[详细]
2023-04-13 00:11 分类:问答How to register Autofac component per http request in web.config?
In MVC3 application I h开发者_开发百科ave my custom implementation of IPrincipal. I want to register it in web.config and then inject it to constructors by Autofac.[详细]
2023-04-12 13:37 分类:问答Autofac property injection
I am in the process of changing my Asp.Net MVC3 project to use Autofac for service injection into my controllers.So far this has been pretty straightforward.My services all have a Telerik OpenAccess d[详细]
2023-04-11 12:56 分类:问答Autofac configuration
I am just starting with Autofac and I am trying to configure a simple registration, according to the docs this should work:[详细]
2023-04-11 02:55 分类:问答Autofac equivalent of Ninject's WhenInjectedInto()
So we\'re working on converting some projects at work from Ninject to Autofac, and we\'ve stumbled on something really neat within Ninject that we can\'t figure out how to do in Autofac.In our applica[详细]
2023-04-10 17:21 分类:问答Autofac Webform Integration: Manual Property Injection
Consider this autofac registration module for a webform MVP style application, where I register a couple of components by providing some parameters dependency.[详细]
2023-04-08 20:14 分类:问答Hooking Generic Repository With IOC container
I am trying to create a generic repository pattern where i can swtich ORM technogies , But i stumbled upon this problem when trying to hook with IOC container[详细]
2023-04-08 18:36 分类:问答Autofac resolve question about keyed registration via IIndex
This is a follow-up question to Configuring an Autofac delegate factory that's defined on an abstract class. I\'ve implemented the suggestion of using IIndex<K,V> that @Aren made in his answ[详细]
2023-04-07 10:08 分类:问答Configuring an Autofac delegate factory that's defined on an abstract class
I\'m working on a C# project. I\'m trying to get rid of a Factory class that has a large switch statement.[详细]
2023-04-07 01:25 分类:问答AutoFac for Window Phone 7 - IContainter.Resolve extension method is not found
I\'m building a fun application for Windows Phone 7. I\'m using MVVM pattern and AutoFac for resolving the dependencies. I have got a classes AutoFacConfiguration holding a property as below[详细]
2023-04-06 10:59 分类:问答