WebsiteHost Host is loading both SqlServerStore and AzureServiceBusStore at runtime, into the DI container, in production builds!
We do not expect this host (and some others like AzureFunctions/AWS Lambdas) to require either of these services! (WE DONT THINK)
Either we need to not inject them for BEFFE's hosts or we have to inject them and they require the necessary configuration in appsettings.json.
The adverse side-effect is potentially, extra consumed memory, and increased cold/warm start-times, particularly acute in server-less environments.
WebsiteHost Host is loading both
SqlServerStoreandAzureServiceBusStoreat runtime, into the DI container, in production builds!We do not expect this host (and some others like AzureFunctions/AWS Lambdas) to require either of these services! (WE DONT THINK)
Either we need to not inject them for BEFFE's hosts or we have to inject them and they require the necessary configuration in
appsettings.json.The adverse side-effect is potentially, extra consumed memory, and increased cold/warm start-times, particularly acute in server-less environments.