General
-
add a HasKey method to IIndex
Currently if I want to determine if a class is registered with a specific key I have to use IsRegistered on the container, or TryGetValue on IIndex<TKey, TValue>. It'd be nice if IIndex had a HasKey(TKey key) method, returning bool, to simplify this test.
3 votes -
Support FSharpFunc
Dynamic instantiation, and parameterisation is supported via func's, it would be very use if it was also supported via FSharpFunc's
9 votes -
6 votes
-
Move types like Meta<>, Owned<> to independent assembly
This would aid in the goal of Zero Intrusion (Components don't need to reference Autofac). It would allow components to be descriptive about their relationships without needing to reference the Autofac assembly.
5 votes -
Resolve open generic interfaces by constraint
Support resolving open generics by the most specific constraint. For example:
class MyService<T> { }
class MyFooService<T> : MyService<T> where T : IFoo { }b.Register<MyService<>>();
b.Register<MyFooService<>>().As<MyService<>>()c.Resolve<MyService<object>>() // gets a MyService
c.Resolve<MyService<FooImplementor>>() // gets a MyFooService7 votes -
5 votes
-
"Internal" components.
I would like to be able to register "internal" components which only can be accessed from within the same assembly as the requested type.
It's quite easy to implement. Simply call Assembly.GetCallingAssembly() when a component flagged with "Internal" are requested.
3 votes -
Add Support to create custom IScope
Currently it has the IScope but internally it uses the enum which restricts to create custom scope such as PerWebRequest. The current recommended way to create a child container is very similar to Unity but not like other container.
7 votes -
Support IModule buildup using MEF
Support Export(typeof(IModule)) in Builder implementation. Perhaps add the support of named IModule types through the use of an attribute to filter the modules at load time.
7 votes -
Support for "dynamic" instances via DLR
Maybe this is already supported, so maybe a walkthrough/wiki about how to inject dynamic components
5 votes -
Support Prism from Microsoft Patterns & Practices
Prism is a composite application framework created by Microsoft P&P.
There is a sample integration here: http://autofac.googlegroups.com/web/prizm.zip_.
Please add your vote if you'd like to see this added to Autofac Contrib.
73 votesplanned ·
Adminnicholas.blumhardt
(Admin, Autofac)
responded
This is the top-voted item and so it is moving to the Autofac issue tracker as a planned item within the 2.1 milestone.
-
WinForms Walkthrough
Create an end-to-end walkthrough showing how to set up Autofac with Windows Forms (WinForms). Include a sample application.
57 votes -
7 votes
Adminnicholas.blumhardt
(Admin, Autofac)
responded
I might not understand your suggestion – there is already a basic MVC demo in trunk, see the Remember* projects in the main solution. Can you give some more details? Thanks!
-
WPF Walkthrough
Create an end-to-end walkthrough showing how to set up Autofac with Windows Presentation Foundation (WPF). Include a sample application.
33 votes -
Extend XML Configuration
Most Autofac applications use code to register services, and where necessary register only Modules via XML.
Some users have expressed interest in adding more fine-grained component registration to the XML sytax:
Examples:
* Constructor selection policy
* Tags
* Factory Methods
* Open generic types
* Resolve named services as constructor parameters29 votes -
ASP.NET MVC Walkthrough
Create an end-to-end walkthrough showing how to set up Autofac with ASP.NET MVC. Include a sample application (can be based on the Remember example in the Autofac source tree.)
23 votes -
Support Compact Framework (.NET CF)
Add a build configuration for .NET CF.
35 votes -
Support Enterprise Library (Entlib) 5
Entlib 5 can be configured to use a third-party IoC container (other than Unity.)
Please add your vote if you'd like to see an adapter added to Autofac Contrib.
14 votes -
WebForms Walkthrough
Create an end-to-end walkthrough showing how to set up Autofac with ASP.NET WebForms. Include a sample application.
7 votes -
Restructuring of documentation and more documentation through examples
The documentation is good, although I still find I run into problems.
a) I can't find what I'm looking for,
b) I find what I'm looking for but the examples aren't clear enough to understand.Better use cases, or examples of what people are more likely to do. And also structured documentation rather than the flat wiki that currently exists.
29 votes