Skip to content

BEFFE wont run in Production without SQLServerStore nor AzureServiceBusStore injected to runtime #72

Description

@jezzsantos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    design defectSomething does not work the best way, or is missing somethingfunctional defectSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions