Hey, I'm Alex 👋
Recent posts
Upcoming decorator enhancements in Autofac 4.9
Published:8 min readAutofac 4.9 introduces new overloads of the existing decorator registration methods that allow for implicit ordering and conditional decoration of services using registration order, as well as support for open-generic registrations and relationship types.
Introducing the Autofac integration for Service Fabric
Published:11 min readThe Autofac.ServiceFabric integration provides lifetime scoping support for Service Fabric services. It uses DynamicProxy interception and custom factory registration classes to track the lifetime of the services within a nested Autofac lifetime scope. This allows for disposal tracking and instance sharing for the service.
Autofac 4.0.0 is in the wild
Published:10 min readAutofac 4.0.0 is the latest version of Autofac and supports .NET Standard 1.1 which includes .NET Core, .NET Framework 4.5, Mono/Xamarin Platforms, Universal Windows Platform 10, Windows 8, and Windows Phone 8.1. It also supports Microsoft's DI abstraction which allows Autofac to integrate with other frameworks such as ASP.NET Core. Issues should be raised in the relevant GitHub repository.
Autofac packages for Visual Studio 2015 release
Published:3 min readAutofac packages for Visual Studio 2015 have been released, with versioning and naming changes to better align with DNX. Documentation is available on the Autofac website.
Autofac 4.0 alpha1 for ASP.NET 5.0 beta3
Published:9 min readAutofac 4.0 alpha1 for ASP.NET 5.0 beta3 is now available on NuGet and can be used with Visual Studio 2015 CTP 6. This version supports the Core CLR without introducing breaking changes, and provides a single integration for the entire web stack. It also includes an Autofac module to encapsulate dependencies. Using this release, developers will be able to create a Web API controller and inject the dependencies they need.