autofac
How do I use AutofacWebTypesModule to Resolve HttpServerUtilityBase
I have the following registrations builder.RegisterModule(new AutofacWebTypesModule()); builder.Register<MyType>(ctx =>[详细]
2023-02-11 18:14 分类:问答Autofac MVVM - Lifetime
Are there any examples of using Autofac in a MVVM application? I\'m not sure how one would control lifetimes and disposal of objects in a MVVM environment.[详细]
2023-02-11 12:55 分类:问答.NET 4, AllowPartiallyTrustedCallers attribute, and security markings like SecurityCritical
I\'m new C# and am trying to understand the new security features of .NET-4. To fill in some details, I\'m currently trying to update AutofacContrib.Moq to work with the latest Moq. I had no problems[详细]
2023-02-11 07:39 分类:问答Autofac Log4Net integration
I was checking out the Log4NetIntegration contribution on the Autofac wiki (http://code.google.com/p/autofac/wiki/Log4NetIntegration) and I\'m having some trouble with the set up using version 2.4.[详细]
2023-02-10 21:15 分类:问答Autofac Contrib Multi Tenant throws "Request is not available in this context" exception
I am using http://code.google.com/p/autofac/wiki/MultitenantIntegration version 2.4.4 with Autofac 2.4.4 on an ASP.Net MVC 3.0.[详细]
2023-02-09 22:14 分类:问答Is it possible in Autofac to resolve all services for a type, even if they were registered with a name or key?
In Autofac one can do the following to get all registered servi开发者_如何学运维ces: IEnumerable<MyClass> all = Context.Resolve<IEnumerable<MyClass>>()[详细]
2023-02-09 14:24 分类:问答Autofac and Quartz.Net Integration
Does anyone have any experience integrating autofac and Quartz.Net?If so, where is it best to control lifetime management -- the IJobFactory, within the Execute of the IJob, or through event listeners[详细]
2023-02-09 00:16 分类:问答Nested resolution
Say I have: ProductA ProductB ProductScreen ProductAScreen1 : ProductScreen ProductAScreen2 : ProductScreen[详细]
2023-02-08 21:40 分类:问答Autofac Set Property to Instance
I\'m fairly new to Autofac and I\'m trying to set a public property on a class every time it is initialized.Here is the scenario.I have many classes that inherit from \"Entity\" that follow this basic[详细]
2023-02-08 07:55 分类:问答Strong reference of Autofac 2
newbie here, sorry if this is an obvious question. I\'ve read from this page: http://code.google.com/p/autofac/wiki/NewInV2[详细]
2023-02-08 05:32 分类:问答
加载中,请稍侯......