Code first API to set connection string
Setting the connection string can now be done when calling UseNServiceBus()
Instead of
functionsHostBuilder.UseNServiceBus(() => new ServiceBusTriggeredEndpointConfiguration(endpointName){
ConnectionString = "CONNECTIONSTRING"
});
use:
functionsHostBuilder.UseNServiceBus(endpointName, "CONNECTIONSTRING");