Blog Posts

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

    Autofac has recently released pre-release packages for OWIN support for Web API and MVC 5 integrations. These packages enable dependency injection for OWIN middleware components, and extend the Autofac lifetime scope from the OWIN pipeline into the MVC and Web API integrations.

  • Using Autofac with Self Hosted WCF Services in a Windows Service

    This article offers an approach to wiring up Autofac with WCF Self Hosting in a Windows Service. It describes creating an Autofac module, an IServiceHostInitializer interface and base implementation, and a ServiceBootstrapper to register and open the service hosts.

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

    Autofac now supports overriding filters using the fluent registration API for MVC 5 and Web API 2. This feature is available starting at 3.1.0 of the Autofac.WebApi2 and Autofac.Mvc5 packages on NuGet, and allows for you to add global filters but exclude some from specific actions or controllers.

  • New features in the Autofac 3.1.0 updates

    Autofac 3.1.0 has been released and includes a number of updates, such as separate XML configuration packages, additional lifetime scopes for request based registrations, Web API HttpRequestMessage injection, and more useful assembly descriptions.

  • Autofac 3.0.2 update pushed to NuGet

    On April 8th, 2013, we pushed Autofac 3.0.2 and some minor updates to the core Autofac package and a few of the integration packages to NuGet. These updates include a mix of enhancements and bug fixes across different packages such as SignalR Integration 3.0.1, Web API Integration 3.0.1 and Multitenant Support 3.0.2 and Castle DynamicProxy Integration 3.0.2.