Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Create a scoped service provider for the call to Configure #1106

Merged
merged 2 commits into from
Jun 19, 2017

Commits on Jun 18, 2017

  1. Create a scoped service provider for the call to Configure

    - This allows scoped dependencies to be injected into the Configure method.
    It means you can resolve the DbContext or any other scoped service without
    the hassle of the CreateScope boiler plate. As a side effect, it also makes
    Startup.Configure a bit more testable.
    davidfowl committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    c3eb8c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    391ee99 View commit details
    Browse the repository at this point in the history