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.
These pages explain ASP.NET classic integration. If you are using ASP.NET Core, see the ASP.NET Core integration page.
- 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
- Enable Injection of Action Parameters
- OWIN Integration
- Using “Plugin” Assemblies
- Using the Current Autofac DependencyResolver
- Glimpse Integration
- Unit Testing
- Example
- Web API
- Quick Start
- Get the HttpConfiguration
- Register Controllers
- Set the Dependency Resolver
- Provide Filters via Dependency Injection
- Provide Model Binders via Dependency Injection
- Per-Controller-Type Services
- Batching
- OWIN Integration
- Unit Testing
- Example
- SignalR
- Web Forms