Alex Meyer-Gleaves

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…

Autofac 3.0.2 update pushed to NuGet

on autofac

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…

Autofac 3.0 Final Release

on autofac

The NuGet packages and download zips are now available for the final release of Autofac 3.0. The biggest changes since Beta 2 are the introduction of an official SignalR integration (built against the RC1 version) and plenty more documentation on the wiki (with even more on the way). The release notes below outline the…