RazorDocs Search
Guide

ForgeTrust.AppSurface.Dependency.Autofac

Source of truth

View source Edit this page

Last updated

Autofac IoC container integration for AppSurface modules.

Overview

This package allows modules to participate in Autofac service registration, enabling advanced DI features not available in the default .NET service collection.

Usage

Inherit from AppSurfaceAutofacModule instead of IAppSurfaceModule if you need to use Autofac-specific registrations.

C#public class MyAutofacModule : AppSurfaceAutofacModule
{
    protected override void Load(ContainerBuilder builder)
    {
        // Custom Autofac registrations
    }
}

📂 Back to Dependency List | 🏠 Back to Root