Skip to content

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

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions