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 was archived by the owner on Nov 7, 2018. It is now read-only.
Autofac and possibly other IoC containers will not return IEnumerable resolved services in the order they were registered, but Options currently depends on this behavior. This causes certain extension methods in Kestrel, WebListener, MVC (and EF?) to break when Autofac is used.
This will probably require adding an Order property back to IConfigureOptions similar to what we had back in beta7.
A key difference is we want to continue running the actions passed to Configure in the order they are added. This will likely require that Configure inspect the IServiceCollection prior to registering the ConfigureOptions instance.
Autofac and possibly other IoC containers will not return IEnumerable resolved services in the order they were registered, but Options currently depends on this behavior. This causes certain extension methods in Kestrel, WebListener, MVC (and EF?) to break when Autofac is used.
This will probably require adding an
Orderproperty back toIConfigureOptionssimilar to what we had back in beta7.A key difference is we want to continue running the actions passed to Configure in the order they are added. This will likely require that
Configureinspect theIServiceCollectionprior to registering theConfigureOptionsinstance.This should resolve the issues raised in aspnet/Hosting#785