Use startup configuration to handle registration such as AddEventBus(config => config.RegisterHandlersFromAllAssemblies(); config.RegisterHandlersFromAssemblyType<T>();