You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is impossible to choose whether to initialize NServicebus or not based on configuration
I would suggest changing the UseNServicebus extension method, so that it extends IServiceCollection - or create seperate exension method with the following signature
public static void UseNServiceBus(this IServiceCollection serviceCollection, Func<HostBuilderContext, EndpointConfiguration> endpointConfigurationBuilder)
That way you can conditionally initialize NServicebus in ConfigureServices