Autofac
v3.5.2
  • Getting Started
  • What’s New / Release Notes
  • Registering Components
  • Resolving Services
  • Controlling Scope and Lifetime
  • Configuration
  • Application Integration
    • ASP.NET
      • OWIN
      • MVC
      • Web API
      • SignalR
      • Web Forms
      • RIA / Domain Services
    • Windows Communication Foundation (WCF)
    • Managed Extensibility Framework (MEF)
    • Common Service Locator
    • Enterprise Library 5
    • NHibernate
    • Moq
    • FakeItEasy
  • Best Practices and Recommendations
  • Advanced Topics
  • Examples
  • Frequently Asked Questions
  • Glossary
  • Contributor Guide
  • API Documentation
Autofac
  • Docs »
  • Application Integration »
  • ASP.NET
  • Edit on GitHub

ASP.NETΒΆ

Autofac offers integration into several ASP.NET application types. The integration libraries provide features like easy connection of your Autofac container to the application lifecycle as well as support for things like per-request component lifetime.

  • OWIN
  • MVC
    • Quick Start
    • Register Controllers
    • Set the Dependency Resolver
    • Register Model Binders
    • Register Web Abstractions
    • Enable Property Injection for View Pages
    • Enable Property Injection for Action Filters
    • OWIN Integration
    • Using “Plugin” Assemblies
    • Unit Testing
    • Example Implementation
  • Web API
    • Quick Start
    • Get the HttpConfiguration
    • Register Controllers
    • Set the Dependency Resolver
    • Provide Filters via Dependency Injection
      • Register the Filter Provider
      • Implement the Filter Interface
      • Register the Filter
      • Why We Use Non-Standard Filter Interfaces
      • Standard Web API Filters are Singletons
    • Per-Controller-Type Services
      • Add the Controller Configuration Attribute
      • Supported Services
      • Service Registration
      • Clearing Existing Services
      • Per-Controller-Type Service Limitations
    • OWIN Integration
    • Unit Testing
  • SignalR
  • Web Forms
  • RIA / Domain Services
Next Previous

© Copyright 2014, Autofac Contributors. Revision cfc5cd46.

Built with Sphinx using a theme provided by Read the Docs.