Autofac
stable
Getting Started
What’s New
Registering Components
Resolving Services
Controlling Scope and Lifetime
Configuration
JSON/XML Configuration
Modules
Application Integration
Best Practices and Recommendations
Advanced Topics
Debugging and Troubleshooting
Examples
Frequently Asked Questions
Glossary
Contributor Guide
Getting Support
API Documentation
Owner’s Guide
Autofac
Configuration
Edit on GitHub
Configuration
JSON/XML Configuration
Configuring With Microsoft Configuration (4.0+)
Quick Start
Default Assembly
Components
Modules
Type Names
Differences from Legacy Configuration
Additional Tips
Configuring With Application Configuration (Legacy Pre-4.0)
Setup
Components
Component Attributes
Component Child Elements
Modules
Additional Config Files
Configuring the Container
Multiple Files or Sections
Modules
Introduction
Advantages of Modules
Decreased Configuration Complexity
Configuration Parameters are Explicit
Abstraction from the Internal Application Architecture
Better Type Safety
Dynamic Configuration
Advanced Extensions
Example
Encapsulated Configuration
Flexibility to Override
Adapting to the Deployment Environment
Common Use Cases for Modules