As Travis outlined in his recent post, we've been hard at work getting Autofac ready for ASP.NET 5.0 and the new Core CLR. The 4.0.0-alpha1 release of the core library and integration for ASP.NET 5.0 are now available on NuGet. The packages can be used with Visual Studio 2015…

Currently, in the both the Web API and MVC frameworks, dependency injection support does not come into play until after the OWIN pipeline has started executing. This is simply a result of the OWIN support being added to both frameworks after their initial release. In fact, the OWIN support in MVC does not yet extend…

I was recently asked how to best create ServiceHost instances wired up with Autofac when using WCF Self Hosting in a Windows Service. In particular, how to do this in a dynamic way when the WCF services are defined in a separate assembly, without moving the service host configuration into the Windows Service entry point…

The ASP.NET and Web Tools for Visual Studio 2013 introduced filter overrides for MVC 5 and Web API 2. This rather useful feature is only briefly mentioned in the release notes. You can now override which filters apply to a given action method or controller, by specifying an override filter. Override filters specify a…

The following 3.1.0 packages have been pushed to NuGet: Autofac Autofac.Configuration Autofac.Web Autofac.Mvc4 Autofac.WebApi Autofac.Extras.Attributed There are a number of changes in the updates but there a couple that I would like to highlight. Separate XML configuration package The Autofac.Configuration assembly was distributed as part of…

We have pushed some minor updates to the core Autofac package and a few of the integration packages to NuGet. There is a mix of enhancements and bug fixes across the different packages. You can find all the details below. Autofac 3.0.2 Changes Enabled XML documentation for all projects and added missing comments…