* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* V6 of DI /5
* Update aspnetcore/fundamentals/dependency-injection.md
Co-authored-by: Stephen Halter <halter73@gmail.com>
* respond to feedback
Co-authored-by: Stephen Halter <halter73@gmail.com>
* General DI updates
* A few more sections
* Another small section
* More sections
* Small tweaks to previous commit
* Another section (2 left)
* Almost there (1 left)
* Final section
* A few final? touches
* A few final? touches
* Add anti-patterns example in DI recommendations
According to https://github.com/dotnet/AspNetCore.Docs/pull/19156, we'd like to add a new anti-patterns to DI recommendations in DI docs. The reason is in Stackoverflow, some community member is suggesting to call BuildServiceProvider to resolve service instance in ConfigureService method(https://stackoverflow.com/questions/31863981/how-to-resolve-instance-inside-configureservices-in-asp-net-core), which will result to couple issues as described in this PR. So it is better to add this as an anti-patterns in recommendations and provide an alternative way to address developers requirement.
* Add ✔️and ❌before correct and incorrect
Add ✔️and ❌before correct and incorrect
* xboxeer anti-pattern DI PR
* clean up
* clean up
* clean up
* clean up
* clean up
* clean up
Co-authored-by: Elendil <yuzheng1@microsoft.com>
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* work
* work
* work
* work
* work
* work
* work
* work
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* DI Antipatterns
* react to feedback
* react to feedback
* Apply suggestions from code review
Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>
* react to feedback
* react to feedback
* react to feedback
* react to feedback
* react to feedback
* react to feedback
* react to feedback
Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>
* DI topic updates for 3.0
Updates
* React to feedback
* AddControllersWithViews over UseMvc for 3.0 Autofac example
* Nits
* Link out for container replacement scenarios
* Content for Generic Host Startup injection
Addresses #8579
I might be getting the hang of **_find and replace_** now. 😝
This doesn't touch a couple that ref 2.2.0. I'll tidy those up on https://github.com/aspnet/Docs/issues/8518 after 2.2 RTM.