This example shows how to register all API controllers in the current assembly with the Autofac container. Example 2:var builder = new ContainerBuilder(); builder.RegisterApiControllers(Assembly.GetExecutingAssembly()) .InstancePerRequest(); builder.RegisterType