Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append Container to IServiceCollection #787

Closed
dotnetjunkie opened this issue Dec 22, 2019 · 1 comment
Closed

Append Container to IServiceCollection #787

dotnetjunkie opened this issue Dec 22, 2019 · 1 comment

Comments

@dotnetjunkie
Copy link
Collaborator

Multiple integrations in ASP.NET Core now require the registration of generic activator instances. Those generic types need to be injected with the Container, but because of their generic nature, they need to be composed by MS.DI.

To make integration simpler, the Simple Injector ServiceCollection integration should, by default, append the Container to the IServiceCollection. This makes integration more straightforward, because now users don't have to register the Container themselves. It also makes the documentation more straightforward.

@dotnetjunkie dotnetjunkie added this to the v4.9 milestone Dec 22, 2019
@dotnetjunkie
Copy link
Collaborator Author

feature-787 branch created.

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

No branches or pull requests

1 participant