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

Make users aware of OnePerNestedScope requirement #125

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

Bouke
Copy link
Contributor

@Bouke Bouke commented Dec 3, 2021

I recently spend a great amount of time to debug an issue where framework dependencies injected by SimpleInjector would not be correctly instantiated. Eventually I discovered that I needed to change the default to OnePerNestedScope, but finding this out was non-trivial. I think it would be good to point out to users that they need to change the default if they wish to combine AspNetCore with Blazor.

@dotnetjunkie dotnetjunkie merged commit d16f848 into simpleinjector:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants