1. LOL! I just wish I could increase the default on Saturdays and
Sundays...
2. That is *really* interesting - I'm going to have to spend some time
with OB1. There are some more observations being made over at
"Alkampfer's Place" -
http://www.nablasoft.com/Alkampfer/?p=105 - in
the later linked post, the blogger presents a scope-based solution
more similar to Autofac's than the 'component burden' approach
currently being investigated for MicroKernel.
3. Agreed. I currently like the way that the main project site leads
straight into Autofac rather than general IoC stuff (as noted by
Justin Rudd -
http://justinrudd.wordpress.com/2008/02/10/state-of-the-art-for-net-dependency-injection)
- it suits the present target audience. Given Autofac's differences
from other containers, an introductory-level resource is definitely
required to help more people to get productive with it while avoiding
'headaches.' Post-1.1 I was planning to do a CodeProject article that
could meet this need - when that comes around let's discuss, it would
be nice to create an 'open source' article perhaps through this
list...
4. Session-scoped components in an Application->Session->Request style
web scenario? Really in any tree of containers that is deeper than 2,
where components need to have container-scope at a level other than
the root or the leaves. Probably rare in practice but definitely
something that will come up. The same effect could be obtained by
registering singleton components in the appropriate child containers,
however I want to make it possible for all components to be registered
in the root to simplify things like facility construction later on
(all of the available components can be reasoned about in one place.)
5/Core bloat: Autofac.Contrib is pretty much what I've been equating
with Autofac.Extras. Bloat of the core is a big deal to me too,
managing complexity is pretty tough. The current project layout
provides a functioning container with only the Autofac and
Autofac.Component namespaces, though the remainder makes this a lot
more usable. Most people should need only Autofac.dll + integrations,
and 'Extras' will satisfy more complex/advanced needs. A line might be
drawn around Autofac.dll as the set of functionality that will always
be supported by future versions (even if it is through
'Extras.Compatibility_1_1' or similar) while we can add 'Extras'
without worrying too much about maintenance burden.
The builder syntax plus associated registrars could actually be moved
out of the core (though of course they won't be) because they are
supported using only the base Autofac classes and IModule. I have been
thinking for a while about how to make the builder syntax more
extensible - essentially monadic though that's a pretty non-
descriptive term - so it is important for '2.0' that the core remains
isolated even though quite a few 'niceties' live in the same
assembly...
5/Delegate factories: Agreed - it is a fringe feature and very much
belongs in Extras (and the front page no longer links directly to it.)
I'm currently working on an article that I hope explains the scenario
where this approach suits me. Just need to increase that default '24'
by enough that I can fit a surf in this afternoon as well..... :)
Nick