You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
Currently, services injected into Startup.Configure come from the hosting service provider.
Since Startup.ConfigureServices is called before Configure and IApplicationBuilder.ApplicationServices is already defined by the time Configure is called, it would be nice if services defined in ConfigureServices could be injected into the Configure method.
The text was updated successfully, but these errors were encountered:
I agree, like that if I one uses the ASP.NET 5 Options Fx to inject an IOptions into DI, the optiosn would be available in configure. This current requires building an IServiceProvider and resolving manually.
Currently, services injected into
Startup.Configure
come from the hosting service provider.Since
Startup.ConfigureServices
is called beforeConfigure
andIApplicationBuilder.ApplicationServices
is already defined by the timeConfigure
is called, it would be nice if services defined inConfigureServices
could be injected into theConfigure
method.The text was updated successfully, but these errors were encountered: