Skip to content

Allow use of request scoping to be configured when calling .AddAspNetCore #12

@dotnetjunkie

Description

@dotnetjunkie

Currently enabling ASP.NET Core request scoping is an all-or-nothing approach. When .AddAspNetCore() is called, request scoping is applied and disabling it again is only possible by removing the IStartupFilter from the IServiceCollection, which is awkward. Instead, an overload should be added to .AddAspNetCore` which simplifies disabling request scoping (while the default still is to apply it).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions