A little over four months from the 1.0 release, and nearly a year
since the first code was cut, the Autofac team is pleased to announce
the general availability of Autofac 1.1.
Highlights of the sizzling new version include:
* New syntax shortcuts, e.g. FactoryScoped(), ExternallyOwned() and
Resolve<T>(string)
* IContainer replaces Container in most interfaces
* Greater extensibility: IContainer exposes registrations and
registration events, with metadata describing services, extended
properties, implementation type and a component id.
* The ASP.NET MVC integration has been updated to the MIX 08 version,
enhanced, and now utilises the base ASP.NET integration
* Multiple configuration files are supported
* Autofac.dll Tests pass under Mono (with Olive)
* Tags introduced to help with managing container hierarchies
* Many more virtual methods to make mocking and extension by
subclassing easier
* Automatic ("lazy batch") registration - for example:
builder.RegisterTypesAssignableTo<IController>().ContainerScoped()
* MSDN-style API docs built using Sandcastle
* NMock2 "auto-mocking container" integration
* Default scope is now respected by all register methods
* Module has some helpers for container extension and no longer
derives from ContainerBuilder
* Basic 'startable' facility demonstrates container extension
* Assembly names now consistent between .NET 2.0 and .NET 3.5 versions
* Numerous internal refactorings and performance improvements
The download is available on the http://autofac.org (Google Code)
site. Version 1.0 will continue to be maintained and will be available
from the download page.
We hope you enjoy working with the new version and encourage you to
give feedback through this group and the issue tracker.