Alex Meyer-Gleaves

Autofac packages for Visual Studio 2015 release

Now that we know the version of DNX that ended up shipping with the Visual Studio 2015 release we have pushed updated packages for Autofac core and ASP.NET 5 across to NuGet. Autofac Autofac.Framework.DependencyInjection If you are playing around with the DNX nightly builds you can find matching Autofac builds on our…

Autofac 4.0 alpha1 for ASP.NET 5.0 beta3

on autofac, DNX

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…

OWIN support for the Web API 2 and MVC 5 integrations in Autofac

on autofac, mvc, Web API

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…

Using Autofac with Self Hosted WCF Services in a Windows Service

on autofac, web services

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…

Fluent interface for Filter Overrides in the Autofac MVC and Web API integrations

on autofac

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…

New features in the Autofac 3.1.0 updates

on autofac

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…